[gimp/metadata-browser] sharpen: Handle img_bpp outside bounds (to shut up static analyzer)
- From: Roman Joost <romanofski src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/metadata-browser] sharpen: Handle img_bpp outside bounds (to shut up static analyzer)
- Date: Fri, 2 Dec 2011 02:01:52 +0000 (UTC)
commit 5eb69e695a7e6406468cb2d1b26f4da817727847
Author: Mukund Sivaraman <muks banu com>
Date: Mon Oct 3 11:06:55 2011 +0530
sharpen: Handle img_bpp outside bounds (to shut up static analyzer)
plug-ins/common/sharpen.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/plug-ins/common/sharpen.c b/plug-ins/common/sharpen.c
index 1ddf463..f2658c3 100644
--- a/plug-ins/common/sharpen.c
+++ b/plug-ins/common/sharpen.c
@@ -599,6 +599,9 @@ preview_update (GimpPreview *preview)
case 4:
filter = rgba_filter;
break;
+ default:
+ g_error ("Programmer stupidity error: img_bpp is %d\n",
+ img_bpp);
}
/*
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]