[dia] [warningectomy] enumeration value not handled in switch
- From: Hans Breuer <hans src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [dia] [warningectomy] enumeration value not handled in switch
- Date: Mon, 20 May 2013 14:50:42 +0000 (UTC)
commit 908ae06da16cf4f7bc660969604d64ce534b3baf
Author: Hans Breuer <hans breuer org>
Date: Mon May 20 16:23:56 2013 +0200
[warningectomy] enumeration value not handled in switch
wmf.cpp:488:13: warning: enumeration value 'LINESTYLE_SOLID' not
handled in switch [-Wswitch]
plug-ins/wmf/wmf.cpp | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/plug-ins/wmf/wmf.cpp b/plug-ins/wmf/wmf.cpp
index 1fa5589..2f64ff0 100644
--- a/plug-ins/wmf/wmf.cpp
+++ b/plug-ins/wmf/wmf.cpp
@@ -491,6 +491,7 @@ set_linestyle(DiaRenderer *self, LineStyle mode)
case LINESTYLE_DASH_DOT_DOT:
case LINESTYLE_DOTTED:
renderer->nLineWidth = MIN(renderer->nLineWidth, 1);
+ case LINESTYLE_SOLID:
break;
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]