summaryrefslogtreecommitdiff
path: root/prtype.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@sun.com>2009-09-27 23:47:53 -0700
committerAlan Coopersmith <alan.coopersmith@sun.com>2009-09-27 23:51:03 -0700
commit4fe64535cf96968593975c96bc1cf1700d4f818c (patch)
treef8c12b5905f096bca63d9cfbb7f29fe0deeeead7 /prtype.c
parente93c377de48b8a3f28586334341f5d85953f26d3 (diff)
downloadxscope-4fe64535cf96968593975c96bc1cf1700d4f818c.tar.gz
Add missing return statements in PrintSET & PrintENUMERATED
Fixes warnings: "prtype.c", line 654: warning: Function has no return statement : PrintENUMERATED "prtype.c", line 704: warning: Function has no return statement : PrintSET Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
Diffstat (limited to 'prtype.c')
-rw-r--r--prtype.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/prtype.c b/prtype.c
index 6be200d..0b2e1f9 100644
--- a/prtype.c
+++ b/prtype.c
@@ -651,6 +651,8 @@ PrintENUMERATED(
fprintf(stdout, "%s", p->Name);
else
fprintf(stdout, "**INVALID** (%ld)", n);
+
+ return length;
}
/* ************************************************************ */
@@ -701,6 +703,8 @@ PrintSET(
fprintf(stdout, "<ALL>");
else if (!FoundOne)
fprintf(stdout, "0");
+
+ return length;
}