Mercurial > vim
comparison src/option.c @ 4367:b7f2d97ae2b7 v7.3.932
updated for version 7.3.932
Problem: Compiler warning for uninitialized variable. (Tony Mechelynck)
Solution: Initialize the variable.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Sat, 11 May 2013 13:45:05 +0200 |
parents | 94aa0d30a3ea |
children | ccecb03e5e8b |
comparison
equal
deleted
inserted
replaced
4366:e85071312475 | 4367:b7f2d97ae2b7 |
---|---|
8845 char_u **stringval; /* NULL when only obtaining attributes */ | 8845 char_u **stringval; /* NULL when only obtaining attributes */ |
8846 int opt_type; | 8846 int opt_type; |
8847 void *from; | 8847 void *from; |
8848 { | 8848 { |
8849 int opt_idx; | 8849 int opt_idx; |
8850 char_u *varp; | 8850 char_u *varp = NULL; |
8851 struct vimoption *p; | 8851 struct vimoption *p; |
8852 int r = 0; | 8852 int r = 0; |
8853 | 8853 |
8854 opt_idx = findoption(name); | 8854 opt_idx = findoption(name); |
8855 if (opt_idx < 0) | 8855 if (opt_idx < 0) |