Examples of errors detected by the V707 diagnostic

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


Bugs Found

Checked Projects
412
Collected Errors
14 132
This website uses cookies and other technology to provide you a more personalized experience. By continuing the view of our web-pages you accept the terms of using these files. If you don't want your personal data to be processed, please, leave this site. Learn More →
Accept