widgets: Insert (void) cast in call, to suppress GCC warning. 20120820001828/pspp 20120821001934/pspp 20120822001826/pspp 20120823001911/pspp 20120824001952/pspp 20120825001851/pspp
authorBen Pfaff <blp@cs.stanford.edu>
Sun, 19 Aug 2012 20:19:39 +0000 (13:19 -0700)
committerBen Pfaff <blp@cs.stanford.edu>
Sun, 19 Aug 2012 20:19:39 +0000 (13:19 -0700)
Otherwise GCC tells me that the call has no effect.

src/ui/gui/widgets.c

index c4f809906759a510252741909cc9c5079b1126af..f6dbede80fe31454a3fe80e3ec1ac6be9341231b 100644 (file)
@@ -66,5 +66,5 @@ preregister_widgets (void)
 
   /* This seems to be necessary on Cygwin.
      It ought not to be necessary.  Having it here can't do any harm. */
-  gtk_source_view_get_type ();
+  (void) gtk_source_view_get_type ();
 }