summaryrefslogtreecommitdiff
path: root/src/ex_cmds.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2006-08-29 15:30:07 +0000
committerBram Moolenaar <Bram@vim.org>2006-08-29 15:30:07 +0000
commit89d4032cae3f1e525978bea5015434af677faa44 (patch)
tree1dd68f886ab03aed49d4e5647ee6f5296742c9e0 /src/ex_cmds.c
parent4100af7840a735cced72f1d20121850cea150a0d (diff)
downloadvim-git-89d4032cae3f1e525978bea5015434af677faa44.tar.gz
updated for version 7.0-070v7.0.070
Diffstat (limited to 'src/ex_cmds.c')
-rw-r--r--src/ex_cmds.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ex_cmds.c b/src/ex_cmds.c
index b5920c8d0..70440735c 100644
--- a/src/ex_cmds.c
+++ b/src/ex_cmds.c
@@ -185,6 +185,7 @@ ex_align(eap)
new_indent = indent;
else
{
+ has_tab = FALSE; /* avoid uninit warnings */
len = linelen(eap->cmdidx == CMD_right ? &has_tab
: NULL) - get_indent();
@@ -1772,10 +1773,9 @@ write_viminfo(file, forceit)
? (st_old.st_mode & 0020)
: (st_old.st_mode & 0002))))
{
- int tt;
+ int tt = msg_didany;
/* avoid a wait_return for this message, it's annoying */
- tt = msg_didany;
EMSG2(_("E137: Viminfo file is not writable: %s"), fname);
msg_didany = tt;
fclose(fp_in);