procps/ps
Jim Warner 629fa81b57 misc: eliminate all those remaining gcc -Wall warnings
Reference(s):
proc/readproc.c: In function 'statm2proc'
proc/readproc.c:627:9: warning: variable 'num' set but not used [-Wunused-but-set-variable]

ps/output.c: In function 'pr_context':
ps/output.c:1273:14: warning: unused variable 'tried_load' [-Wunused-variable]
ps/output.c:1272:16: warning: unused variable 'ps_is_selinux_enabled' [-Wunused-variable]
ps/output.c:1272:16: warning: 'ps_is_selinux_enabled' defined but not used [-Wunused-variable]
ps/output.c:1273:14: warning: 'tried_load' defined but not used [-Wunused-variable]
ps/output.c:1837:18: warning: 'shortsort_array_count' defined but not used [-Wunused-const-variable=]
ps/output.c:1803:18: warning: 'aix_array_count' defined but not used [-Wunused-const-variable=]

ps/parser.c: In function 'arg_type':
ps/parser.c:1098:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
ps/parser.c:1099:34: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'

ps/sortformat.c: In function 'format_parse':
ps/sortformat.c:241:1: warning: label 'out' defined but not used [-Wunused-label]

ps/stacktrace.c:176:13: warning: 'stack_trace_sigsegv' defined but not used [-Wunused-function]

watch.c: In function 'process_ansi':
watch.c:234:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
watch.c:237:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'

Signed-off-by: Jim Warner <james.warner@comcast.net>
2017-05-22 21:34:32 +10:00
..
common.h Closes: #9 ps: Remove Unix98 output limitations 2015-10-26 11:18:52 +11:00
COPYING license: update FSF addresses 2012-03-04 08:04:24 +11:00
display.c ps: exploit the simplified library interface for wchan 2015-06-19 19:09:20 +10:00
global.c Closes: #9 ps: Remove Unix98 output limitations 2015-10-26 11:18:52 +11:00
HACKING
help.c ps: add -q/q/--quick-pid option 2014-07-10 21:24:19 +02:00
output.c misc: eliminate all those remaining gcc -Wall warnings 2017-05-22 21:34:32 +10:00
parser.c misc: eliminate all those remaining gcc -Wall warnings 2017-05-22 21:34:32 +10:00
ps.1 ps: recognize SCHED_DEADLINE 2016-11-07 10:23:01 +01:00
regression
select.c ps: add -q/q/--quick-pid option 2014-07-10 21:24:19 +02:00
sortformat.c misc: eliminate all those remaining gcc -Wall warnings 2017-05-22 21:34:32 +10:00
stacktrace.c misc: eliminate all those remaining gcc -Wall warnings 2017-05-22 21:34:32 +10:00