changeset 36045:a6f9525929a4

Remove unnecessary initialization.
author ib
date Wed, 03 Apr 2013 16:25:33 +0000
parents 7898b9b8ac51
children 69cb4e21803a
files gui/dialog/fileselect.c gui/dialog/url.c
diffstat 2 files changed, 7 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/gui/dialog/fileselect.c	Wed Apr 03 16:13:41 2013 +0000
+++ b/gui/dialog/fileselect.c	Wed Apr 03 16:25:33 2013 +0000
@@ -55,11 +55,11 @@
 #define get_current_dir_name() getcwd(NULL, PATH_MAX)
 #endif
 
-const char *fsSelectedFile = NULL;
+const char *fsSelectedFile;
 const char *fsThisDir      = ".";
 const gchar *fsFilter      = "*";
 
-int fsType = 0;
+int fsType;
 
 static gint fsCurrFNameListSelected, fsLastFNameListSelected;
 
@@ -136,15 +136,15 @@
 
 GtkWidget *fsFileNamesList;
 GtkWidget *fsFNameList;
-GtkWidget *FileSelector = NULL;
+GtkWidget *FileSelector;
 GdkColormap *fsColorMap;
 GtkWidget *fsOk;
 GtkWidget *fsUp;
 GtkWidget *fsCancel;
 GtkWidget *fsCombo4;
 GtkWidget *fsPathCombo;
-GList *fsList_items    = NULL;
-GList *fsTopList_items = NULL;
+GList *fsList_items;
+GList *fsTopList_items;
 GHashTable *fsPathTable;
 GtkWidget *List;
 GtkWidget *fsFilterCombo;
--- a/gui/dialog/url.c	Wed Apr 03 16:13:41 2013 +0000
+++ b/gui/dialog/url.c	Wed Apr 03 16:25:33 2013 +0000
@@ -32,11 +32,11 @@
 #include "help_mp.h"
 #include "stream/stream.h"
 
-GtkWidget *URLDialog = NULL;
+GtkWidget *URLDialog;
 
 static GtkWidget *URLCombo;
 static GtkWidget *URLEntry;
-static GList *URLComboEntrys = NULL;
+static GList *URLComboEntrys;
 
 static void on_Button_pressed(GtkButton *button, gpointer user_data)
 {