comparison src/popupwin.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 4b40e8821f56
comparison
equal deleted inserted replaced
17199:8b52f72f0618 17200:db81cee3a0e1
2127 int border_attr[4]; 2127 int border_attr[4];
2128 int border_char[8]; 2128 int border_char[8];
2129 char_u buf[MB_MAXBYTES]; 2129 char_u buf[MB_MAXBYTES];
2130 int row; 2130 int row;
2131 int i; 2131 int i;
2132 int sb_thumb_top; 2132 int sb_thumb_top = 0;
2133 int sb_thumb_height; 2133 int sb_thumb_height = 0;
2134 int attr_scroll = highlight_attr[HLF_PSB]; 2134 int attr_scroll = highlight_attr[HLF_PSB];
2135 int attr_thumb = highlight_attr[HLF_PST]; 2135 int attr_thumb = highlight_attr[HLF_PST];
2136 2136
2137 // Find the window with the lowest zindex that hasn't been updated yet, 2137 // Find the window with the lowest zindex that hasn't been updated yet,
2138 // so that the window with a higher zindex is drawn later, thus goes on 2138 // so that the window with a higher zindex is drawn later, thus goes on