From 4c83f8b4dfe53127fd05dc2268055e7a0a9b978c Mon Sep 17 00:00:00 2001 From: Andrew Borodin Date: Mon, 27 Dec 2010 19:08:30 +0300 Subject: [PATCH] (panel_save_curent_file_to_clip_file): 'res' might be used uninitialized here. Signed-off-by: Andrew Borodin --- lib/widget/input.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/widget/input.c b/lib/widget/input.c index 62795feac..5adf07012 100644 --- a/lib/widget/input.c +++ b/lib/widget/input.c @@ -161,7 +161,7 @@ load_text_from_clip_file (char **text) static gboolean panel_save_curent_file_to_clip_file (void) { - gboolean res; + gboolean res = FALSE; if (current_panel->marked == 0) res = save_text_to_clip_file (selection (current_panel)->fname);