comparison src/ops.c @ 6923:9a13e3910e3d v7.4.780

patch 7.4.780 Problem: Compiler complains about uninitialized variable and clobbered variables. Solution: Add Initialization. Make variables static.
author Bram Moolenaar <bram@vim.org>
date Sun, 12 Jul 2015 16:21:23 +0200
parents 1f78058351a6
children 58d9f967ae1a
comparison
equal deleted inserted replaced
6922:681921dee50d 6923:9a13e3910e3d
5401 int was_positive = TRUE; 5401 int was_positive = TRUE;
5402 int visual = VIsual_active; 5402 int visual = VIsual_active;
5403 int i; 5403 int i;
5404 int lnum = curwin->w_cursor.lnum; 5404 int lnum = curwin->w_cursor.lnum;
5405 int lnume = curwin->w_cursor.lnum; 5405 int lnume = curwin->w_cursor.lnum;
5406 int startcol; 5406 int startcol = 0;
5407 int did_change = FALSE; 5407 int did_change = FALSE;
5408 5408
5409 dohex = (vim_strchr(curbuf->b_p_nf, 'x') != NULL); /* "heX" */ 5409 dohex = (vim_strchr(curbuf->b_p_nf, 'x') != NULL); /* "heX" */
5410 dooct = (vim_strchr(curbuf->b_p_nf, 'o') != NULL); /* "Octal" */ 5410 dooct = (vim_strchr(curbuf->b_p_nf, 'o') != NULL); /* "Octal" */
5411 doalp = (vim_strchr(curbuf->b_p_nf, 'p') != NULL); /* "alPha" */ 5411 doalp = (vim_strchr(curbuf->b_p_nf, 'p') != NULL); /* "alPha" */