[MPlayer-dev-eng] [PATCH] warning fixes
sr
seru at gmx.net
Thu Jan 2 19:49:00 CET 2003
fire-libaf-warnings.diff fixes 'warning: pasing "" and "" does not give a valid preprocessing token' warnings in libaf. this one might be useful.
fire-jpeg-warnings.diff shuts down libjpeg warnings (useless cosmetics)
fire-gui-warnings.diff: fixes gui warnings (more useless cosmetics)
-------------- next part --------------
Index: libaf/af_mp.h
===================================================================
RCS file: /cvsroot/mplayer/main/libaf/af_mp.h,v
retrieving revision 1.1
diff -u -r1.1 af_mp.h
--- libaf/af_mp.h 12 Nov 2002 12:33:54 -0000 1.1
+++ libaf/af_mp.h 2 Jan 2003 18:41:31 -0000
@@ -18,7 +18,7 @@
#undef af_msg
#endif
#define af_msg(lev, args... ) \
- mp_msg(MSGT_AFILTER,((lev<0)?(lev+3):((lev==0)?MSGL_INFO:(lev+5))), args ## )
+ mp_msg(MSGT_AFILTER,((lev<0)?(lev+3):((lev==0)?MSGL_INFO:(lev+5))), ##args )
/* Decodes the format from mplayer format to libaf format */
extern int af_format_decode(int format);
-------------- next part --------------
Index: configure
===================================================================
RCS file: /cvsroot/mplayer/main/configure,v
retrieving revision 1.630
diff -u -r1.630 configure
--- configure 29 Dec 2002 19:58:44 -0000 1.630
+++ configure 2 Jan 2003 18:43:10 -0000
@@ -4905,7 +4905,9 @@
$_def_dvd_darwin
$_def_sol_scsi_h
$_def_hpux_scsi_h
+#ifndef HAVE_STDDEF_H
$_def_stddef
+#endif
/* Common data directory (for fonts, etc) */
#define DATADIR "$_datadir"
-------------- next part --------------
Index: Gui/app.c
===================================================================
RCS file: /cvsroot/mplayer/main/Gui/app.c,v
retrieving revision 1.18
diff -u -r1.18 app.c
--- Gui/app.c 29 Nov 2002 00:58:22 -0000 1.18
+++ Gui/app.c 2 Jan 2003 18:39:59 -0000
@@ -192,4 +192,4 @@
for ( j=0;j<appMPlayer.NumberOfItems + 1;j++ )
if ( appMPlayer.Items[j].msg == event ) appMPlayer.Items[j].pressed=set;
}
-
\ No newline at end of file
+
Index: Gui/mplayer/mw.c
===================================================================
RCS file: /cvsroot/mplayer/main/Gui/mplayer/mw.c,v
retrieving revision 1.100
diff -u -r1.100 mw.c
--- Gui/mplayer/mw.c 2 Jan 2003 15:53:21 -0000 1.100
+++ Gui/mplayer/mw.c 2 Jan 2003 18:40:01 -0000
@@ -188,7 +188,7 @@
{
wItem * item;
txSample * image = NULL;
- int i, type;
+ int i;
if ( appMPlayer.mainWindow.State == wsWindowClosed ) exit_player( MSGTR_Exit_quit );
Index: Gui/mplayer/gtk/fs.c
===================================================================
RCS file: /cvsroot/mplayer/main/Gui/mplayer/gtk/fs.c,v
retrieving revision 1.40
diff -u -r1.40 fs.c
--- Gui/mplayer/gtk/fs.c 2 Jan 2003 15:48:29 -0000 1.40
+++ Gui/mplayer/gtk/fs.c 2 Jan 2003 18:40:04 -0000
@@ -587,19 +587,20 @@
GtkWidget * create_FileSelect( void )
{
- GtkWidget * FSFrame;
+/* GtkWidget * FSFrame;
GtkWidget * frame2;
GtkWidget * frame3;
GtkWidget * frame4;
+ GtkWidget * hseparator1;
+ GtkWidget * hseparator2;
+ GtkWidget * hseparator3;
+ GtkWidget * label1;
+*/
GtkWidget * vbox4;
GtkWidget * hbox4;
GtkWidget * vseparator1;
- GtkWidget * hseparator1;
GtkWidget * hbox6;
GtkWidget * fsFNameListWindow;
- GtkWidget * label1;
- GtkWidget * hseparator2;
- GtkWidget * hseparator3;
GtkWidget * hbuttonbox3;
GtkWidget * uppixmapwid;
Index: Gui/mplayer/gtk/opts.c
===================================================================
RCS file: /cvsroot/mplayer/main/Gui/mplayer/gtk/opts.c,v
retrieving revision 1.41
diff -u -r1.41 opts.c
--- Gui/mplayer/gtk/opts.c 2 Jan 2003 15:48:29 -0000 1.41
+++ Gui/mplayer/gtk/opts.c 2 Jan 2003 18:40:09 -0000
@@ -665,7 +665,7 @@
GtkWidget * hbox1;
GtkWidget * vbox2;
GtkWidget * scrolledwindow3;
- GtkWidget * hbuttonbox2;
+//GtkWidget * hbuttonbox2;
GtkWidget * vbox3;
GtkWidget * hbox8;
GtkWidget * hbox2;
@@ -677,8 +677,8 @@
GtkWidget * vbox6;
GtkWidget * vbox600;
GSList * OSD_group = NULL;
- GSList * Font_group = NULL;
- GList * CBFontEncoding_items = NULL;
+//GSList * Font_group = NULL;
+//GList * CBFontEncoding_items = NULL;
GtkWidget * vbox7;
GtkWidget * vbox8;
GtkWidget * table1;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20030102/ba399d60/attachment.pgp>
More information about the MPlayer-dev-eng
mailing list