]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Remove obsolete use of now-uninitialized variable.
authorTed Lemon <source@isc.org>
Thu, 6 Jul 2000 10:04:03 +0000 (10:04 +0000)
committerTed Lemon <source@isc.org>
Thu, 6 Jul 2000 10:04:03 +0000 (10:04 +0000)
common/execute.c

index 00d6fd7f777212e9e037cb90ed38f443a73d19ef..2c7f6b576d1bbd7a46c06f1e17c31f0eba815803 100644 (file)
@@ -43,7 +43,7 @@
 
 #ifndef lint
 static char copyright[] =
-"$Id: execute.c,v 1.33 2000/06/12 22:22:09 mellon Exp $ Copyright (c) 1998-2000 The Internet Software Consortium.  All rights reserved.\n";
+"$Id: execute.c,v 1.34 2000/07/06 10:04:03 mellon Exp $ Copyright (c) 1998-2000 The Internet Software Consortium.  All rights reserved.\n";
 #endif /* not lint */
 
 #include "dhcpd.h"
@@ -235,7 +235,7 @@ int execute_statements (packet, lease, in_options, out_options, scope,
 #if defined (DEBUG_EXPRESSIONS)
                        log_debug ("exec: set %s", r -> data.set.name);
 #endif
-                       if (!binding && status) {
+                       if (!binding) {
                                binding = dmalloc (sizeof *binding, MDL);
                                if (binding) {
                                    memset (binding, 0, sizeof *binding);