From 4fe64535cf96968593975c96bc1cf1700d4f818c Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Sun, 27 Sep 2009 23:47:53 -0700 Subject: 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 --- prtype.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'prtype.c') 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, ""); else if (!FoundOne) fprintf(stdout, "0"); + + return length; } -- cgit v1.2.1