Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/rump_allserver alleviate may-be-used-unused
details: https://anonhg.NetBSD.org/src/rev/938e49889320
branches: trunk
changeset: 326024:938e49889320
user: pooka <pooka%NetBSD.org@localhost>
date: Thu Jan 16 02:20:50 2014 +0000
description:
alleviate may-be-used-unused
diffstat:
usr.bin/rump_allserver/rump_allserver.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (28 lines):
diff -r 57c90e7c0f36 -r 938e49889320 usr.bin/rump_allserver/rump_allserver.c
--- a/usr.bin/rump_allserver/rump_allserver.c Thu Jan 16 01:54:47 2014 +0000
+++ b/usr.bin/rump_allserver/rump_allserver.c Thu Jan 16 02:20:50 2014 +0000
@@ -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 @@
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]);
Home |
Main Index |
Thread Index |
Old Index