Author: gonzalo
Date: 2006-08-28 15:17:41 -0400 (Mon, 28 Aug 2006)
New Revision: 64486

Modified:
   trunk/mono/eglib/src/gdir.c
   trunk/mono/eglib/src/gpattern.c
Log:
warnings

Modified: trunk/mono/eglib/src/gdir.c
===================================================================
--- trunk/mono/eglib/src/gdir.c 2006-08-28 18:54:46 UTC (rev 64485)
+++ trunk/mono/eglib/src/gdir.c 2006-08-28 19:17:41 UTC (rev 64486)
@@ -81,6 +81,7 @@
                return NULL;
 
        return entry->d_name;
+#endif
 }
 
 void
@@ -90,6 +91,7 @@
 #else
        g_return_if_fail (dir != NULL && dir->dir != NULL);
        rewinddir (dir->dir);
+#endif
 }
 
 void

Modified: trunk/mono/eglib/src/gpattern.c
===================================================================
--- trunk/mono/eglib/src/gpattern.c     2006-08-28 18:54:46 UTC (rev 64485)
+++ trunk/mono/eglib/src/gpattern.c     2006-08-28 19:17:41 UTC (rev 64486)
@@ -61,6 +61,7 @@
        if (pattern == NULL)
                return NULL;
 
+       data = NULL;
        list = NULL;
        free_str = TRUE;
        str = g_string_new ("");

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to