Примеры ошибок, обнаруженных с помощью диагностики V707
V707. Giving short names to global variables is considered to be bad practice.
Cfront
V707 Giving short names to global variables is considered to be bad practice. It is suggested to rename 'Nn' variable. cfront.h 50
extern int Nspy, Nn, Nbt, Nt, Ne, Ns, Nstr, Nc, Nl;
Yasm
V707 Giving short names to global variables is considered to be bad practice. It is suggested to rename 'in' variable. parser.c 18
static Scanner *in;
A dangerous name for a global variable.
Yasm
V707 Giving short names to global variables is considered to be bad practice. It is suggested to rename 'i' variable. nasm-eval.c 29
static int i; /* The t_type of tokval */
*#info
A dangerous name for a global variable.
PMDK
V707 Giving short names to global variables is considered to be bad practice. It is suggested to rename 'c' variable. obj_critnib_mt.c 56
static struct critnib *c;
Similar errors can be found in some other places:
- V707 Giving short names to global variables is considered to be bad practice. It is suggested to rename 'Id' variable. obj_list.h 68
- V707 Giving short names to global variables is considered to be bad practice. It is suggested to rename 'ri' variable. map.c 131
- V707 Giving short names to global variables is considered to be bad practice. It is suggested to rename 'Id' variable. obj_list.c 34