code: Silence compiler warnings.

This commit is contained in:
Alastair Poole 2020-04-03 11:38:48 +01:00
parent 58860b0bcf
commit b7804910a7
1 changed files with 2 additions and 2 deletions

View File

@ -702,9 +702,9 @@ _elm_code_widget_cursor_move(Elm_Code_Widget *widget, Elm_Code_Widget_Data *pd,
{
Elm_Code *code;
Elm_Code_Line *line_obj;
unsigned int oldrow, position, length, first_row, last_row;
int cw, ch;
const char *text;
unsigned int oldrow, position, length, first_row, last_row;
int cw = 0, ch = 0;
oldrow = pd->cursor_line;