summaryrefslogtreecommitdiffstats
path: root/dhcpcd.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-10-06 12:45:32 +0000
committerRoy Marples <roy@marples.name>2008-10-06 12:45:32 +0000
commit35a8183fb9d41cd62d1b1689ffe9953fff677aa9 (patch)
tree0be5db98c80287550e7a45d0f3f96a1e93b383c5 /dhcpcd.c
parent079649b0b1b5e074c745c84f9ebf3fd504c9a628 (diff)
downloaddhcpcd-35a8183fb9d41cd62d1b1689ffe9953fff677aa9.tar.xz
static objects are initialized to 0 by default, so don't explicity do this.
Diffstat (limited to 'dhcpcd.c')
-rw-r--r--dhcpcd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/dhcpcd.c b/dhcpcd.c
index 8bb2eca4..39af2ce7 100644
--- a/dhcpcd.c
+++ b/dhcpcd.c
@@ -73,10 +73,10 @@ char **ifav = NULL;
int ifdc = 0;
char **ifdv = NULL;
-static char **ifv = NULL;
-static int ifc = 0;
+static char **ifv;
+static int ifc;
static int linkfd = -1;
-static char *cffile = NULL;
+static char *cffile;
static char *pidfile;
struct dhcp_op {