summaryrefslogtreecommitdiffstats
path: root/dhcp.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 /dhcp.c
parent079649b0b1b5e074c745c84f9ebf3fd504c9a628 (diff)
downloaddhcpcd-35a8183fb9d41cd62d1b1689ffe9953fff677aa9.tar.xz
static objects are initialized to 0 by default, so don't explicity do this.
Diffstat (limited to 'dhcp.c')
-rw-r--r--dhcp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dhcp.c b/dhcp.c
index bfa5f262..d10476f8 100644
--- a/dhcp.c
+++ b/dhcp.c
@@ -56,7 +56,7 @@
/* Our aggregate option buffer.
* We ONLY use this when options are split, which for most purposes is
* practically never. See RFC3396 for details. */
-static uint8_t *dhcp_opt_buffer = NULL;
+static uint8_t *dhcp_opt_buffer;
struct dhcp_opt {
uint8_t option;