fix MISRA C"Literal zero used in pointer context"

MISRC C required pointer to zero should be replace with NULL

Signed-off-by: Huihuang Shi <huihuang.shi@intel.com>
This commit is contained in:
Huihuang Shi
2018-06-08 13:12:06 +08:00
committed by lijinxia
parent 7710940195
commit 8940c896be
7 changed files with 8 additions and 11 deletions

View File

@@ -7,9 +7,6 @@
#ifndef TYPES_H
#define TYPES_H
/* Define NULL value */
#define HV_NULL 0
/* Defines for TRUE / FALSE conditions */
#define HV_FALSE 0
#define HV_TRUE 1