Browse Source

(panel_save_curent_file_to_clip_file): 'res' might be used uninitialized here.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Andrew Borodin 14 years ago
parent
commit
4c83f8b4df
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/widget/input.c

+ 1 - 1
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);