comparison src/normal.c @ 17200:db81cee3a0e1 v8.1.1599

patch 8.1.1599: compiler warning for uninitialized variable commit https://github.com/vim/vim/commit/6efd76ae4a5cb60facd261abd5d64800ec96402d Author: Bram Moolenaar <Bram@vim.org> Date: Wed Jun 26 04:06:57 2019 +0200 patch 8.1.1599: compiler warning for uninitialized variable Problem: Compiler warning for uninitialized variable. (Tony Mechelynck) Solution: Add a dummy assignment.
author Bram Moolenaar <Bram@vim.org>
date Wed, 26 Jun 2019 04:15:05 +0200
parents 983950357c40
children 11f3cf51d43b
comparison
equal deleted inserted replaced
17199:8b52f72f0618 17200:db81cee3a0e1
4558 cap->count1 = 3; 4558 cap->count1 = 3;
4559 cap->count0 = cap->count1; 4559 cap->count0 = cap->count1;
4560 nv_scroll_line(cap); 4560 nv_scroll_line(cap);
4561 } 4561 }
4562 #ifdef FEAT_TEXT_PROP 4562 #ifdef FEAT_TEXT_PROP
4563 if (bt_popup(wp->w_buffer)) 4563 if (bt_popup(curwin->w_buffer))
4564 { 4564 {
4565 int height = wp->w_height; 4565 int height = curwin->w_height;
4566 4566
4567 curwin->w_firstline = curwin->w_topline; 4567 curwin->w_firstline = curwin->w_topline;
4568 popup_adjust_position(curwin); 4568 popup_adjust_position(curwin);
4569 4569
4570 // we don't want the popup to get smaller, decrement the first line 4570 // we don't want the popup to get smaller, decrement the first line