summaryrefslogtreecommitdiffstats
path: root/usr.sbin/crunchgen
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2009-07-21 17:19:13 +0000
committerderaadt <deraadt@openbsd.org>2009-07-21 17:19:13 +0000
commit5de80a318db7c86921c0ae3f53db9bda51ef730a (patch)
tree62688598209ab168d761f35fe3ca6b7ceb68f413 /usr.sbin/crunchgen
parentAllow systat(1) to resolve names by adding a new -N flag. (The default was (diff)
downloadwireguard-openbsd-5de80a318db7c86921c0ae3f53db9bda51ef730a.tar.xz
wireguard-openbsd-5de80a318db7c86921c0ae3f53db9bda51ef730a.zip
stop gcc from whining
Diffstat (limited to 'usr.sbin/crunchgen')
-rw-r--r--usr.sbin/crunchgen/crunchide.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/crunchgen/crunchide.c b/usr.sbin/crunchgen/crunchide.c
index c6f4e72ad30..97ba5b81689 100644
--- a/usr.sbin/crunchgen/crunchide.c
+++ b/usr.sbin/crunchgen/crunchide.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: crunchide.c,v 1.2 2008/08/22 15:38:37 deraadt Exp $ */
+/* $OpenBSD: crunchide.c,v 1.3 2009/07/21 17:19:13 deraadt Exp $ */
/*
* Copyright (c) 1994 University of Maryland
@@ -137,7 +137,7 @@ void
add_to_keep_list(char *symbol)
{
struct keep *newp, *prevp, *curp;
- int cmp;
+ int cmp = 0;
for (curp = keep_list, prevp = NULL; curp; prevp = curp, curp = curp->next)
if ((cmp = strcmp(symbol, curp->sym)) <= 0)