fix warning (bug #4807)
authorRussell Bryant <russell@russellbryant.com>
Mon, 1 Aug 2005 15:01:11 +0000 (15:01 +0000)
committerRussell Bryant <russell@russellbryant.com>
Mon, 1 Aug 2005 15:01:11 +0000 (15:01 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6254 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_authenticate.c

index d50b5b2..887bf23 100755 (executable)
@@ -120,7 +120,7 @@ static int auth_exec(struct ast_channel *chan, void *data)
                                if (f) {
                                        char buf[256] = "";
                                        char md5passwd[33] = "";
-                                       char *md5secret;
+                                       char *md5secret = NULL;
 
                                        while (!feof(f)) {
                                                fgets(buf, sizeof(buf), f);