Initialize pw to placate -Wuninitialized for sh3.

This commit is contained in:
he 2005-09-20 15:48:17 +00:00
parent 367b7cbf46
commit c8a9612d27
1 changed files with 4 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: skeyinit.c,v 1.26 2005/09/19 22:45:27 wiz Exp $ */
/* $NetBSD: skeyinit.c,v 1.27 2005/09/20 15:48:17 he Exp $ */
/* S/KEY v1.1b (skeyinit.c)
*
@ -17,7 +17,7 @@
#include <sys/cdefs.h>
#ifndef lint
__RCSID("$NetBSD: skeyinit.c,v 1.26 2005/09/19 22:45:27 wiz Exp $");
__RCSID("$NetBSD: skeyinit.c,v 1.27 2005/09/20 15:48:17 he Exp $");
#endif
#include <sys/param.h>
@ -58,6 +58,8 @@ int main(int argc, char **argv)
struct tm *tm;
int c;
pw = NULL; /* XXX gcc -Wuninitialized [sh3] */
/*
* Make sure using stdin/stdout/stderr is safe
* after opening any file.