netstar pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=b7804910a7a6570817cfbde2a3873c1478718128

commit b7804910a7a6570817cfbde2a3873c1478718128
Author: Alastair Poole <[email protected]>
Date:   Fri Apr 3 11:38:48 2020 +0100

    code: Silence compiler warnings.
---
 src/lib/elementary/elm_code_widget.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/lib/elementary/elm_code_widget.c 
b/src/lib/elementary/elm_code_widget.c
index 1ab0061c2a..11caf63c34 100644
--- a/src/lib/elementary/elm_code_widget.c
+++ b/src/lib/elementary/elm_code_widget.c
@@ -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;
 

-- 


Reply via email to