[dia] [scan-build] Dead assigment
- From: Hans Breuer <hans src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [dia] [scan-build] Dead assigment
- Date: Sun, 24 Jan 2010 11:11:44 +0000 (UTC)
commit bbae61ca0551e74b2b26b427a8e17a35d235a39c
Author: Hans Breuer <hans breuer org>
Date: Mon Jan 4 17:29:47 2010 +0100
[scan-build] Dead assigment
Value stored to 'bd' is never read
app/color_area.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/app/color_area.c b/app/color_area.c
index 2e9f9dc..025ef2c 100644
--- a/app/color_area.c
+++ b/app/color_area.c
@@ -113,7 +113,7 @@ color_area_draw ()
{
Color col;
GdkColor *win_bg;
- GdkColor fg, bg, bd;
+ GdkColor fg, bg;
gint rect_w, rect_h;
gint width, height;
gint def_width, def_height;
@@ -133,7 +133,6 @@ color_area_draw ()
color_convert(&col, &fg);
col = attributes_get_background();
color_convert(&col, &bg);
- bd = color_gdk_black;
rect_w = width * 0.65;
rect_h = height * 0.65;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]