18-02-2015, 12:46 PM
Below is my query:
# file1 a.c includes a # file 2 a.h
================================
#file2 a.h contains following code snippet
-------------------------------------------------------------
extern int eix;
static int siz;
eix and siz are not referenced from anywhere i.e. they are unused. So should the violation for this rule should be reported on these variables as well or the violation shoudl only be reported if the variable is used somewhere in the code.
# file1 a.c includes a # file 2 a.h
================================
#file2 a.h contains following code snippet
-------------------------------------------------------------
extern int eix;
static int siz;
eix and siz are not referenced from anywhere i.e. they are unused. So should the violation for this rule should be reported on these variables as well or the violation shoudl only be reported if the variable is used somewhere in the code.
<t></t>