glib r7584 - in trunk: . m4macros



Author: matthiasc
Date: Fri Oct 10 04:44:53 2008
New Revision: 7584
URL: http://svn.gnome.org/viewvc/glib?rev=7584&view=rev

Log:
2008-10-10  Matthias Clasen  <mclasen redhat com>

        Bug 552861 â glib-2.0.m4 calls system(3) without storing its result

        * m4macros/glib-2.0.m4: Cosmetic change to make -Werror happy.
        Patch by Andreas KÃhler



Modified:
   trunk/ChangeLog
   trunk/m4macros/glib-2.0.m4

Modified: trunk/m4macros/glib-2.0.m4
==============================================================================
--- trunk/m4macros/glib-2.0.m4	(original)
+++ trunk/m4macros/glib-2.0.m4	Fri Oct 10 04:44:53 2008
@@ -93,8 +93,9 @@
 {
   int major, minor, micro;
   char *tmp_version;
+  int ignored;
 
-  system ("touch conf.glibtest");
+  ignored = system ("touch conf.glibtest");
 
   /* HP/UX 9 (% #!) writes to sscanf strings */
   tmp_version = g_strdup("$min_glib_version");



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