summaryrefslogtreecommitdiff
path: root/svgio
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2013-03-25 21:58:05 +0100
committerJulien Nabet <serval2412@yahoo.fr>2013-03-25 21:58:44 +0100
commit79c0bd64be68161ea16f132a015f7143e09f3eaf (patch)
tree251494a84e7efb11133873b06eef760142dc2a11 /svgio
parentdea45f0c8567dc387096798001a9f67633c7b616 (diff)
coverity#704311 Logically dead code
Change-Id: I1739d96748a4ed2259885843f383ec7ff2914b66
Diffstat (limited to 'svgio')
-rw-r--r--svgio/source/svgreader/svgtools.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/svgio/source/svgreader/svgtools.cxx b/svgio/source/svgreader/svgtools.cxx
index 899fed8bfbc0..892221cc527d 100644
--- a/svgio/source/svgreader/svgtools.cxx
+++ b/svgio/source/svgreader/svgtools.cxx
@@ -545,6 +545,7 @@ namespace svgio
{
// angle in grad
nPos += aStrGrad.getLength();
+ aType = grad;
}
break;
}
@@ -555,6 +556,7 @@ namespace svgio
{
// angle in radians
nPos += aStrRad.getLength();
+ aType = rad;
}
break;
}