04-03-2020, 02:28 AM
Hi there,
Rule 21.1 doesn't mention anything about preprocessing, so given the following code
shall we report both the above defects or only the one(defec1) in the true path?
thanks
Rule 21.1 doesn't mention anything about preprocessing, so given the following code
Code:
#define ABC 345
#ifdef ABC
#define _XYZ 0xFFFFFFFF //defect1
#else
#define _XYZ 0xF0000000 //defect2
#endif
shall we report both the above defects or only the one(defec1) in the true path?
thanks
<t></t>