code: Silence compiler warnings.
authorAlastair Poole <netstar@gmail.com>
Fri, 3 Apr 2020 10:38:48 +0000 (11:38 +0100)
committerJongmin Lee <jm105.lee@samsung.com>
Sun, 5 Apr 2020 21:24:42 +0000 (06:24 +0900)
src/lib/elementary/elm_code_widget.c

index 1ab0061..11caf63 100644 (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;