summaryrefslogtreecommitdiff
path: root/lib/thread.c
diff options
context:
space:
mode:
authorDaniel Walton <dwalton@cumulusnetworks.com>2016-09-29 17:48:57 +0000
committerDaniel Walton <dwalton@cumulusnetworks.com>2016-09-29 17:48:57 +0000
commit67656e9b65ab7c6bb979be72b4917cfd4a2241b6 (patch)
tree823937fe0aded2bcfad54dfdea570259bd4820ac /lib/thread.c
parentff788d089ac145ac06b99018811f46a9f6b69dda (diff)
all: added CHECK ME for DEFUNs that look at argc
Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com>
Diffstat (limited to 'lib/thread.c')
-rw-r--r--lib/thread.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/thread.c b/lib/thread.c
index 76acd07789..eb85d57af0 100644
--- a/lib/thread.c
+++ b/lib/thread.c
@@ -299,6 +299,7 @@ DEFUN (show_thread_cpu,
"Thread CPU usage\n"
"Display filter (rwtexb)\n")
{
+ /* CHECK ME argc referenced below */
int idx_filter = 3;
int i = 0;
thread_type filter = (thread_type) -1U;
@@ -382,6 +383,7 @@ DEFUN (clear_thread_cpu,
"Thread CPU usage\n"
"Display filter (rwtexb)\n")
{
+ /* CHECK ME argc referenced below */
int idx_filter = 3;
int i = 0;
thread_type filter = (thread_type) -1U;