From a8fb4194926aa22732192b37768be34aec0c9360 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Tue, 20 Oct 1998 06:25:23 +0000 Subject: -Wall cleanup. svn path=/trunk/; revision=2120 --- conf.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'conf.c') diff --git a/conf.c b/conf.c index 4a544564..81d6d29d 100644 --- a/conf.c +++ b/conf.c @@ -60,8 +60,6 @@ static void indent(char ic) static void stringdump(const char *name, const char *member) /* dump a string member with current indent */ { - static char buf[BUFSIZ]; - indent('\0'); fprintf(stdout, "\"%s\":", name); if (member) @@ -71,14 +69,14 @@ static void stringdump(const char *name, const char *member) fputs(",\n", stdout); } -static int numdump(const char *name, const int num) +static void numdump(const char *name, const int num) /* dump a numeric quantity at current indent */ { indent('\0'); fprintf(stdout, "'%s':%d,\n", name, num); } -static int booldump(const char *name, const int onoff) +static void booldump(const char *name, const int onoff) /* dump a boolean quantity at current indent */ { indent('\0'); -- cgit v1.2.3