[dia] [scan-build] Dead assignement
- From: Hans Breuer <hans src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [dia] [scan-build] Dead assignement
- Date: Tue, 29 Dec 2009 19:13:12 +0000 (UTC)
commit fba7e720b769694debb0262bb3629e1bf281d1ea
Author: Hans Breuer <hans breuer org>
Date: Tue Dec 29 12:53:49 2009 +0100
[scan-build] Dead assignement
remove superfuous code
lib/font.c | 5 -----
1 files changed, 0 insertions(+), 5 deletions(-)
---
diff --git a/lib/font.c b/lib/font.c
index 9426044..01bb8c5 100644
--- a/lib/font.c
+++ b/lib/font.c
@@ -596,11 +596,6 @@ dia_font_set_slant_from_string(DiaFont* font, const char* obli)
{
DiaFontSlant fo = DIA_FONT_NORMAL;
const SlantName* p;
-
- DiaFontStyle old_style;
- DiaFontSlant old_fo;
- old_style = dia_font_get_style(font);
- old_fo = DIA_FONT_STYLE_GET_SLANT(old_style);
for (p = slant_names; p->name != NULL; ++p) {
if (0 == strncmp(obli,p->name,8)) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]