fix compiler warnings
authorAnthony Minessale II <anthmct@yahoo.com>
Wed, 29 Dec 2004 18:51:33 +0000 (18:51 +0000)
committerAnthony Minessale II <anthmct@yahoo.com>
Wed, 29 Dec 2004 18:51:33 +0000 (18:51 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4593 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_read.c

index fb3a7ea..7676f0a 100755 (executable)
@@ -69,8 +69,8 @@ static int read_exec(struct ast_channel *chan, void *data)
        int maxdigits=255;
        int tries = 1;
        int to = 0;
-       int defined = 0, x = 0;
-       char *argcopy;
+       x = 0;
+       char *argcopy = NULL;
        char *args[8];
 
        if (data)