Browse Source
Make while statement using pointers explicitly check whether the value is NULL or not. The C standard does not say that the null pointer is the same as the pointer to memory address 0 and because of this is a good practice always compare with the macro NULL. Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>pull/10072/head
4 changed files with 8 additions and 7 deletions
Loading…
Reference in new issue