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 cefd4abc3fde4a290a81f23b28b9166a9566a615..0dfa4ca59c2763557be362e7d8b2b38353652d9d 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;