diff options
author | Alan Coopersmith <alan.coopersmith@sun.com> | 2009-09-27 23:47:53 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@sun.com> | 2009-09-27 23:51:03 -0700 |
commit | 4fe64535cf96968593975c96bc1cf1700d4f818c (patch) | |
tree | f8c12b5905f096bca63d9cfbb7f29fe0deeeead7 /prtype.c | |
parent | e93c377de48b8a3f28586334341f5d85953f26d3 (diff) | |
download | xscope-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.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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; } |