Примеры ошибок, обнаруженных с помощью диагностики 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.


Найденные ошибки

Проверено проектов
346
Собрано ошибок
13 188

А ты совершаешь ошибки в коде?

Проверь с помощью
PVS-Studio

Статический анализ
кода для C, C++, C#
и Java

goto PVS-Studio;