diff options
author | 2012-08-30 19:28:40 +0000 | |
---|---|---|
committer | 2012-08-30 19:28:40 +0000 | |
commit | ba330da6047fa328a4f80a46d153bb267c25f45b (patch) | |
tree | caccab22ac5c8848abfd21d30085d4f44413de2f | |
parent | On sparc64, we still need to pass -K PIC to the assembler when compiling PIE. (diff) | |
download | wireguard-openbsd-ba330da6047fa328a4f80a46d153bb267c25f45b.tar.xz wireguard-openbsd-ba330da6047fa328a4f80a46d153bb267c25f45b.zip |
fix uninitialized variable which can be reach in case of failure.
ok gilles@
-rw-r--r-- | usr.sbin/smtpd/queue_backend.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/smtpd/queue_backend.c b/usr.sbin/smtpd/queue_backend.c index 25f0137f0fc..5eac3b478c4 100644 --- a/usr.sbin/smtpd/queue_backend.c +++ b/usr.sbin/smtpd/queue_backend.c @@ -1,4 +1,4 @@ -/* $OpenBSD: queue_backend.c,v 1.35 2012/08/29 16:26:17 gilles Exp $ */ +/* $OpenBSD: queue_backend.c,v 1.36 2012/08/30 19:28:40 chl Exp $ */ /* * Copyright (c) 2011 Gilles Chehade <gilles@openbsd.org> @@ -173,7 +173,7 @@ queue_message_corrupt(uint32_t msgid) int queue_message_fd_r(uint32_t msgid) { - int fdin, fdout; + int fdin = -1, fdout = -1; FILE *ifp = NULL; FILE *ofp = NULL; |