make func_curl.c compile under devmode.
authorMichiel van Baak <michiel@vanbaak.info>
Sun, 7 Sep 2008 00:04:05 +0000 (00:04 +0000)
committerMichiel van Baak <michiel@vanbaak.info>
Sun, 7 Sep 2008 00:04:05 +0000 (00:04 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@141626 65c4cc65-6c06-0410-ace0-fbb531ad65f3

funcs/func_curl.c

index a1ed4e9..47f0bb9 100644 (file)
@@ -275,7 +275,7 @@ static int acf_curlopt_read(struct ast_channel *chan, const char *cmd, char *dat
 {
        struct ast_datastore *store;
        struct global_curl_info *list[2] = { &global_curl_info, NULL };
-       struct curl_settings *cur;
+       struct curl_settings *cur = NULL;
        CURLoption key;
        enum optiontype ot;
        int i;