Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/pwhash appease gcc -Wuninitialized
details: https://anonhg.NetBSD.org/src/rev/dd3417deb6df
branches: trunk
changeset: 581483:dd3417deb6df
user: lukem <lukem%NetBSD.org@localhost>
date: Thu Jun 02 02:19:51 2005 +0000
description:
appease gcc -Wuninitialized
diffstat:
usr.bin/pwhash/pwhash.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r e62b38933baa -r dd3417deb6df usr.bin/pwhash/pwhash.c
--- a/usr.bin/pwhash/pwhash.c Thu Jun 02 02:14:58 2005 +0000
+++ b/usr.bin/pwhash/pwhash.c Thu Jun 02 02:19:51 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pwhash.c,v 1.12 2005/01/12 05:45:23 christos Exp $ */
+/* $NetBSD: pwhash.c,v 1.13 2005/06/02 02:19:51 lukem Exp $ */
/* $OpenBSD: encrypt.c,v 1.16 2002/02/16 21:27:45 millert Exp $ */
/*
@@ -28,7 +28,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: pwhash.c,v 1.12 2005/01/12 05:45:23 christos Exp $");
+__RCSID("$NetBSD: pwhash.c,v 1.13 2005/06/02 02:19:51 lukem Exp $");
#endif
#include <sys/types.h>
@@ -139,7 +139,7 @@
int opt;
int operation = -1;
int prompt = 0;
- const char *extra; /* Store salt or number of rounds */
+ const char *extra = NULL; /* Store salt or number of rounds */
setprogname(argv[0]);
Home |
Main Index |
Thread Index |
Old Index