summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2011-10-08 23:46:03 +0200
committerStephan Bergmann <sbergman@redhat.com>2011-10-08 23:47:34 +0200
commit946090359b231f55e2498dcfe4fff7294c2b9504 (patch)
tree858934af3a1e1206eb4f5d9cb0e1415926f061f3
parente0ffea7232fe4bd52424b321562baa809686fb09 (diff)
Added the unreachable code back in, even for GCC 4.0, so Mac OS X would not fail.
-rw-r--r--cppcanvas/source/mtfrenderer/textaction.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/cppcanvas/source/mtfrenderer/textaction.cxx b/cppcanvas/source/mtfrenderer/textaction.cxx
index 2e0f78a83054..4fd78a983ab8 100644
--- a/cppcanvas/source/mtfrenderer/textaction.cxx
+++ b/cppcanvas/source/mtfrenderer/textaction.cxx
@@ -2286,6 +2286,12 @@ namespace cppcanvas
rState ) );
}
}
+#if defined __GNUC__
+#if __GNUC__ == 4
+ // Unreachable; to avoid bogus warning:
+ return ActionSharedPtr();
+#endif
+#endif
}
}
}