[dia] [warningectomy] remove unused variables
- From: Hans Breuer <hans src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [dia] [warningectomy] remove unused variables
- Date: Mon, 15 Oct 2012 11:14:17 +0000 (UTC)
commit f2b632c139d571db7a0b8e77f22f6e1339794eb5
Author: Hans Breuer <hans breuer org>
Date: Sun Oct 14 15:30:50 2012 +0200
[warningectomy] remove unused variables
lib/dia_svg.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/lib/dia_svg.c b/lib/dia_svg.c
index 8be08d1..e8d486a 100644
--- a/lib/dia_svg.c
+++ b/lib/dia_svg.c
@@ -179,7 +179,6 @@ _parse_color(gint32 *color, const char *str)
*color = DIA_SVG_COLOUR_TEXT;
else if (0 == strncmp(str, "rgb(", 4)) {
int r = 0, g = 0, b = 0;
- real dr, dg, db;
if (3 == sscanf (str+4, "%d,%d,%d", &r, &g, &b)) {
/* Set alpha to 1.0 */
*color = ((0xFF<<24) & 0xFF000000) | ((r<<16) & 0xFF0000) | ((g<<8) & 0xFF00) | (b & 0xFF);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]