Module Name: src
Committed By: pooka
Date: Thu Jan 16 02:20:50 UTC 2014
Modified Files:
src/usr.bin/rump_allserver: rump_allserver.c
Log Message:
alleviate may-be-used-unused
To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 src/usr.bin/rump_allserver/rump_allserver.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.bin/rump_allserver/rump_allserver.c
diff -u src/usr.bin/rump_allserver/rump_allserver.c:1.34 src/usr.bin/rump_allserver/rump_allserver.c:1.35
--- src/usr.bin/rump_allserver/rump_allserver.c:1.34 Thu Jan 16 00:31:39 2014
+++ src/usr.bin/rump_allserver/rump_allserver.c Thu Jan 16 02:20:50 2014
@@ -1,4 +1,4 @@
-/* $NetBSD: rump_allserver.c,v 1.34 2014/01/16 00:31:39 pooka Exp $ */
+/* $NetBSD: rump_allserver.c,v 1.35 2014/01/16 02:20:50 pooka Exp $ */
/*-
* Copyright (c) 2010, 2011 Antti Kantee. All Rights Reserved.
@@ -28,7 +28,7 @@
#include <rump/rumpuser_port.h>
#ifndef lint
-__RCSID("$NetBSD: rump_allserver.c,v 1.34 2014/01/16 00:31:39 pooka Exp $");
+__RCSID("$NetBSD: rump_allserver.c,v 1.35 2014/01/16 02:20:50 pooka Exp $");
#endif /* !lint */
#include <sys/types.h>
@@ -148,7 +148,8 @@ main(int argc, char *argv[])
int ch, sflag, onthepath;
unsigned i;
char **modarray = NULL, **libarray = NULL;
- unsigned nmods = 0, curmod = 0, nlibs = 0, curlib = 0, libidx, liblast;
+ unsigned nmods = 0, curmod = 0, nlibs = 0, curlib = 0, libidx;
+ unsigned liblast = -1; /* XXXgcc */
#ifdef PLATFORM_HAS_SETGETPROGNAME
setprogname(argv[0]);