diff options
author | Karl Ramm <kcr@mit.edu> | 2009-03-22 18:30:19 +0000 |
---|---|---|
committer | Karl Ramm <kcr@mit.edu> | 2009-03-22 18:30:19 +0000 |
commit | e86b07cf9a4dfe2da0740551fbe4ab8d90801e85 (patch) | |
tree | 71bc356ca5743fe87b368e13c4f95f72a0522e5b /clients/znol | |
parent | 4757c8ec3d411ff5df84b33b15714d3d7bd5f6ab (diff) |
paper over some more warnings
Diffstat (limited to 'clients/znol')
-rw-r--r-- | clients/znol/znol.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/clients/znol/znol.c b/clients/znol/znol.c index 33f5096..009e5f7 100644 --- a/clients/znol/znol.c +++ b/clients/znol/znol.c @@ -24,19 +24,18 @@ static const char rcsid_znol_c[] = "$Id$"; #define OFF 0 int -main(int argc, - char *argv[]) +main(int argc, char *argv[]) { register char *cp; ZSubscription_t subs[SUBSATONCE]; ZLocations_t locations; - FILE *fp; + FILE *fp = NULL; struct passwd *pwd; char anyonename[BUFSIZ],name[BUFSIZ],cleanname[BUFSIZ],*envptr; char *comment_ptr; int onoff = ON,quiet = 0,justlist = 0,useronly = 0, filenamed = 0; int retval,arg,ind,one,numlocs,i; - int wgport; + int wgport = 0; if ((retval = ZInitialize()) != ZERR_NONE) { com_err(argv[0],retval,"initializing"); |