LineIdSeverityMessage
lib/fdleak.c
74variableScopestyleThe scope of the variable 'maxfd' can be reduced.
111unusedVariablestyleUnused variable: fd_limit
143variableScopestyleThe scope of the variable 'rv' can be reduced.
lib/listfile.c
104variableScopestyleThe scope of the variable 'when_local' can be reduced.
105variableScopestyleThe scope of the variable 'user_name' can be reduced.
106variableScopestyleThe scope of the variable 'group_name' can be reduced.
241obsoleteFunctionsallocastyleObsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead.
lib/regexprops.c
487unreadVariablestyleVariable 'options' is assigned a value that is never used.
lib/safe-atoi.c
63duplicateBranchstyle, inconcl.Found duplicate branches for 'if' and 'else'.
locate/code.c
165variableScopestyleThe scope of the variable 'count' can be reduced.
165variableScopestyleThe scope of the variable 'diffcount' can be reduced.
locate/frcode.c
219variableScopestyleThe scope of the variable 'count' can be reduced.
219variableScopestyleThe scope of the variable 'diffcount' can be reduced.
locate/locate.c
257variableScopestyleThe scope of the variable 'needed' can be reduced.
1017variableScopestyleThe scope of the variable 'pathpart' can be reduced.
1487unreachableCodestyleStatements following return, break, continue, goto or throw will never be executed.
1542variableScopestyleThe scope of the variable 'fp' can be reduced.
1888invalidPrintfArgType_sintwarning%ld in format string (no. 1) requires 'long' but the argument type is 'unsigned long'.
1901variableScopestyleThe scope of the variable 'fd' can be reduced.
xargs/xargs.c
266nullPointererrorPossible null pointer dereference: p
377unreadVariablestyleVariable 'default_cmd' is assigned a value that is never used.
383unusedVariablestyleUnused variable: sigact
445unusedVariablestyleUnused variable: val
755redundantAssignmentperformance, inconcl.Variable 'initial_argc' is reassigned a value before the old one has been used if variable is no semaphore variable.
832variableScopestyleThe scope of the variable 'prevc' can be reduced.
1197variableScopestyleThe scope of the variable 'fd' can be reduced.
1199variableScopestyleThe scope of the variable 'r' can be reduced.
1380variableScopestyleThe scope of the variable 'j' can be reduced.