diff options
author | Manish Singh <yosh@gimp.org> | 2004-07-09 22:40:37 +0000 |
---|---|---|
committer | Manish Singh <yosh@src.gnome.org> | 2004-07-09 22:40:37 +0000 |
commit | 2633a03012796946a7af70bb89ade4948975f0eb (patch) | |
tree | b1a37139f9d38dd7946981da58ef5ee0ad98b9fc /gdk-pixbuf/gdk-pixbuf-scale.c | |
parent | 8889f2b45d87303873ef5cb2590c3de8157707af (diff) | |
download | gtk+-2633a03012796946a7af70bb89ade4948975f0eb.tar.gz |
function doesn't return a value, so don't use g_return_val_if_fail()
Fri Jul 9 15:38:06 2004 Manish Singh <yosh@gimp.org>
* gdk-pixbuf-io.c (gdk_pixbuf_format_set_disabled): function doesn't
return a value, so don't use g_return_val_if_fail()
* gdk-pixbuf-scale.c (gdk_pixbuf_rotate_simple): initialize dest in
the can't happen case, to quiet gcc.
* io-tiff.c (tifflibversion): enclose in #if TIFFLIB_VERSION >=
20031226.
Diffstat (limited to 'gdk-pixbuf/gdk-pixbuf-scale.c')
-rw-r--r-- | gdk-pixbuf/gdk-pixbuf-scale.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdk-pixbuf/gdk-pixbuf-scale.c b/gdk-pixbuf/gdk-pixbuf-scale.c index b81aeb1a68..041bd254e4 100644 --- a/gdk-pixbuf/gdk-pixbuf-scale.c +++ b/gdk-pixbuf/gdk-pixbuf-scale.c @@ -392,6 +392,7 @@ gdk_pixbuf_rotate_simple (const GdkPixbuf *src, } break; default: + dest = NULL; g_warning ("gdk_pixbuf_rotate_simple() can only rotate " "by multiples of 90 degrees"); g_assert_not_reached (); |