Mercurial > vim
comparison src/eval.c @ 7046:fd409a0800fd v7.4.836
commit https://github.com/vim/vim/commit/0a38dd29d6f65aa601162542a5ab0ba7f308fc8e
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Aug 25 16:49:01 2015 +0200
patch 7.4.836
Problem: Accessing unitinialized memory.
Solution: Add missing calls to init_tv(). (Dominique Pelle)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 25 Aug 2015 17:20:28 +0200 |
parents | e8eccb9621f7 |
children | 5fc5c5bf2233 |
comparison
equal
deleted
inserted
replaced
7045:1631e3867d79 | 7046:fd409a0800fd |
---|---|
5369 EMSG(_(e_float_as_string)); | 5369 EMSG(_(e_float_as_string)); |
5370 return FAIL; | 5370 return FAIL; |
5371 } | 5371 } |
5372 #endif | 5372 #endif |
5373 | 5373 |
5374 init_tv(&var1); | |
5375 init_tv(&var2); | |
5374 if (**arg == '.') | 5376 if (**arg == '.') |
5375 { | 5377 { |
5376 /* | 5378 /* |
5377 * dict.name | 5379 * dict.name |
5378 */ | 5380 */ |