summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlastair Poole <netstar@gmail.com>2020-04-03 11:38:48 +0100
committerAlastair Poole <netstar@gmail.com>2020-04-03 11:38:48 +0100
commitb7804910a7a6570817cfbde2a3873c1478718128 (patch)
treeb87d8114703f30bba461bd22151f48105ab797b4
parent58860b0bcf9ce6d3a01b2198e9600c4939e6fccd (diff)
downloadefl-b7804910a7a6570817cfbde2a3873c1478718128.tar.gz
code: Silence compiler warnings.
-rw-r--r--src/lib/elementary/elm_code_widget.c4
1 files 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;