major dialplan functions update
[asterisk/asterisk.git] / manager.c
index c8e4144..81c67ff 100644 (file)
--- a/manager.c
+++ b/manager.c
@@ -751,7 +751,7 @@ static int action_getvar(struct mansession *s, struct message *m)
        }
 
        if (varname[strlen(varname) - 1] == ')') {
-               varval = ast_func_read(c, varname, workspace, sizeof(workspace));
+               ast_func_read(c, varname, workspace, sizeof(workspace));
        } else {
                pbx_retrieve_variable(c, varname, &varval, workspace, sizeof(workspace), NULL);
        }