[MPlayer-cvslog] r36139 - in trunk/gui/dialog: fileselect.c url.c

ib subversion at mplayerhq.hu
Wed Apr 3 18:25:33 CEST 2013


Author: ib
Date: Wed Apr  3 18:25:33 2013
New Revision: 36139

Log:
Remove unnecessary initialization.

Modified:
   trunk/gui/dialog/fileselect.c
   trunk/gui/dialog/url.c

Modified: trunk/gui/dialog/fileselect.c
==============================================================================
--- trunk/gui/dialog/fileselect.c	Wed Apr  3 18:13:41 2013	(r36138)
+++ trunk/gui/dialog/fileselect.c	Wed Apr  3 18:25:33 2013	(r36139)
@@ -55,11 +55,11 @@ char *get_current_dir_name(void);
 #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 @@ int fsLastFontFilterSelected = -1;
 
 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;

Modified: trunk/gui/dialog/url.c
==============================================================================
--- trunk/gui/dialog/url.c	Wed Apr  3 18:13:41 2013	(r36138)
+++ trunk/gui/dialog/url.c	Wed Apr  3 18:25:33 2013	(r36139)
@@ -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)
 {


More information about the MPlayer-cvslog mailing list