]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Fix a warning
authorRoy Marples <roy@marples.name>
Sat, 30 Nov 2013 09:43:39 +0000 (09:43 +0000)
committerRoy Marples <roy@marples.name>
Sat, 30 Nov 2013 09:43:39 +0000 (09:43 +0000)
if-options.c

index 7107eb133523ffd3b4dca5631c02a9a5d4a80362..8f59d1b5af7bff5e3a726703521f4d7b56eaf4be 100644 (file)
@@ -1416,9 +1416,10 @@ read_config(const char *file,
 {
        struct if_options *ifo;
        FILE *f;
-       char *buf, *line, *option, *p;
+       char *line, *option, *p;
        int skip = 0, have_profile = 0;
 #ifndef EMBEDDED_CONFIG
+       char *buf;
        const char **e;
        size_t buflen, ol;
 #endif