rhythmbox r6052 - in trunk: . plugins/generic-player



Author: hadess
Date: Fri Nov 14 17:38:30 2008
New Revision: 6052
URL: http://svn.gnome.org/viewvc/rhythmbox?rev=6052&view=rev

Log:
2008-11-14  Bastien Nocera  <hadess hadess net>

	* plugins/generic-player/rb-psp-source.c: Fix run-time
	warning when creating the PSP source, as glib doesn't
	like zero-sized private structures



Modified:
   trunk/ChangeLog
   trunk/plugins/generic-player/rb-psp-source.c

Modified: trunk/plugins/generic-player/rb-psp-source.c
==============================================================================
--- trunk/plugins/generic-player/rb-psp-source.c	(original)
+++ trunk/plugins/generic-player/rb-psp-source.c	Fri Nov 14 17:38:30 2008
@@ -55,9 +55,7 @@
 
 typedef struct
 {
-#ifdef __SUNPRO_C
-  char x; /* To build with Solaris forte compiler. */
-#endif
+  char garbage_so_its_not_empty; /* To avoid run-time warnings. FIXME remove if no private needed */
 } RBPspSourcePrivate;
 
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]