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)
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,
702{ 702{
703 Elm_Code *code; 703 Elm_Code *code;
704 Elm_Code_Line *line_obj; 704 Elm_Code_Line *line_obj;
705 unsigned int oldrow, position, length, first_row, last_row;
706 int cw, ch;
707 const char *text; 705 const char *text;
706 unsigned int oldrow, position, length, first_row, last_row;
707 int cw = 0, ch = 0;
708 708
709 oldrow = pd->cursor_line; 709 oldrow = pd->cursor_line;
710 710