]> Pileus Git - ~andy/gtk/commitdiff
Fix compiler warnings
authorElliot Lee <sopwith@src.gnome.org>
Wed, 9 Aug 2000 02:56:13 +0000 (02:56 +0000)
committerElliot Lee <sopwith@src.gnome.org>
Wed, 9 Aug 2000 02:56:13 +0000 (02:56 +0000)
gdk-pixbuf/io-wbmp.c
gdk/gdkregion-generic.c

index 5e08d6bad3efc473a22ea326374ce4e283fb86de..f8411ae2699de9ea67281ffef986470c0e4f90f3 100644 (file)
@@ -225,7 +225,7 @@ gboolean gdk_pixbuf__wbmp_image_load_increment(gpointer data, guchar * buf,
 {
        struct wbmp_progressive_state *context =
            (struct wbmp_progressive_state *) data;
-       gboolean bv;
+       gboolean bv = FALSE;
 
        do
          {
index 1140ce04216d9596c6ef43b92d6bc59a961a50b0..4c3e42ece7f4d02be529ffcefff1e07bb67a86f5 100644 (file)
@@ -68,6 +68,8 @@ SOFTWARE.
  * the y-x-banding that's so nice to have...
  */
 
+#include <stdlib.h>
+#include <string.h>
 #include <gdkregion.h>
 #include "gdkregion-generic.h"