diff options
author | Ray Lai <ray@cvs.openbsd.org> | 2006-03-24 13:34:28 +0000 |
---|---|---|
committer | Ray Lai <ray@cvs.openbsd.org> | 2006-03-24 13:34:28 +0000 |
commit | 41913ef29fbfeb6b3ba30ac53350ad9ca1edbb28 (patch) | |
tree | 6069986b659019c22b0312cef6f3c327310ebe9a /usr.bin/cvs/admin.c | |
parent | 1f6bc076e36bb3fccad1c8ca90ac8df8b0a0db31 (diff) |
Remove unused variables, better integer types, prevent fallthroughs.
Found by lint.
Compare char * variables against NULL for consistency and add
parentheses around complicated comparisons, suggested by xsa@.
OK xsa@
Diffstat (limited to 'usr.bin/cvs/admin.c')
-rw-r--r-- | usr.bin/cvs/admin.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/cvs/admin.c b/usr.bin/cvs/admin.c index 1c88aa96ad8..a5f750749f9 100644 --- a/usr.bin/cvs/admin.c +++ b/usr.bin/cvs/admin.c @@ -1,4 +1,4 @@ -/* $OpenBSD: admin.c,v 1.30 2006/03/16 09:06:19 xsa Exp $ */ +/* $OpenBSD: admin.c,v 1.31 2006/03/24 13:34:27 ray Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org> * Copyright (c) 2005 Joris Vink <joris@openbsd.org> @@ -322,6 +322,7 @@ cvs_admin_remote(CVSFILE *cf, void *arg) case CVS_FST_MODIFIED: cvs_sendreq(root, CVS_REQ_MODIFIED, cf->cf_name); cvs_sendfile(root, fpath); + break; default: break; } |