diff options
author | billf <billf@FreeBSD.org> | 1999-09-26 21:37:46 +0000 |
---|---|---|
committer | billf <billf@FreeBSD.org> | 1999-09-26 21:37:46 +0000 |
commit | 391966e267a5a52d43779b36a10d4e640e438601 (patch) | |
tree | ce65d91214fb19c98c616b1ff935e55bd75edc40 | |
parent | fcd8d009a78edcb2d70b0af8f77a1c28f468ec1e (diff) | |
download | FreeBSD-src-391966e267a5a52d43779b36a10d4e640e438601.zip FreeBSD-src-391966e267a5a52d43779b36a10d4e640e438601.tar.gz |
Silence -Wall
Reviewed by: dillon
-rw-r--r-- | sbin/ccdconfig/ccdconfig.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sbin/ccdconfig/ccdconfig.c b/sbin/ccdconfig/ccdconfig.c index 4deaa3a..6b83620 100644 --- a/sbin/ccdconfig/ccdconfig.c +++ b/sbin/ccdconfig/ccdconfig.c @@ -204,7 +204,7 @@ do_single(argc, argv, action) { struct ccd_ioctl ccio; char *ccd, *cp, *cp2, **disks; - int noflags = 0, i, ileave, flags, j; + int noflags = 0, i, ileave, flags = 0, j; bzero(&ccio, sizeof(ccio)); @@ -327,6 +327,7 @@ do_all(action) int argc, rval; gid_t egid; + rval = 0; egid = getegid(); setegid(getgid()); if ((f = fopen(ccdconf, "r")) == NULL) { |