diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2013-08-04 12:51:01 +0200 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2013-08-04 12:51:01 +0200 |
commit | 227f8ac604c11bebf5b248e28caf0d59576f2ba8 (patch) | |
tree | 70a16eca36ebe62684fc5e56a2965a49500eb846 /src | |
parent | f22b0311b9fd5b771cdd9b533355427b8bd7ca2e (diff) | |
download | weechat-227f8ac604c11bebf5b248e28caf0d59576f2ba8.zip |
core: fix uninitialized variable "result" in callback of command /eval
Diffstat (limited to 'src')
-rw-r--r-- | src/core/wee-command.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/wee-command.c b/src/core/wee-command.c index b90bbd1fb..66be06f4d 100644 --- a/src/core/wee-command.c +++ b/src/core/wee-command.c @@ -1520,6 +1520,7 @@ COMMAND_CALLBACK(eval) hashtable_set (options, "type", "condition"); } + result = NULL; if (print_only) { expr = string_remove_quotes (ptr_args, "\""); |