fix uninitialized variables
authorFelix Fietkau <nbd@openwrt.org>
Fri, 4 Jan 2013 22:18:07 +0000 (23:18 +0100)
committerFelix Fietkau <nbd@openwrt.org>
Fri, 4 Jan 2013 22:18:07 +0000 (23:18 +0100)
main.c

diff --git a/main.c b/main.c
index cefd4ab..0dfa4ca 100644 (file)
--- a/main.c
+++ b/main.c
@@ -185,7 +185,7 @@ static void fixup_prefix(char *str)
 
 int main(int argc, char **argv)
 {
-       const char *tls_key, *tls_crt;
+       const char *tls_key = NULL, *tls_crt = NULL;
        bool nofork = false;
        char *port;
        int opt, ch;