summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2010-10-05 14:43:08 +0100
committerCaolán McNamara <caolanm@redhat.com>2010-10-06 08:45:16 +0100
commit83829fb6d4f657b11892c86984c26b6630db380c (patch)
treee0213578f8c3e6d38ea3e28a5a96e77e93631018
parent8167b126a6802ded7e321deb98503d44e6ac264f (diff)
silence warning
-rw-r--r--cppcanvas/source/mtfrenderer/implrenderer.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/cppcanvas/source/mtfrenderer/implrenderer.cxx b/cppcanvas/source/mtfrenderer/implrenderer.cxx
index d7be552b48e9..2021a789460a 100644
--- a/cppcanvas/source/mtfrenderer/implrenderer.cxx
+++ b/cppcanvas/source/mtfrenderer/implrenderer.cxx
@@ -1822,8 +1822,7 @@ namespace cppcanvas
static int count = -1, limit = 0x7fffffff;
if (count == -1) {
count = 0;
- char *env;
- if (env = getenv ("EMF_PLUS_LIMIT")) {
+ if (char *env = getenv ("EMF_PLUS_LIMIT")) {
limit = atoi (env);
EMFP_DEBUG (printf ("EMF+ records limit: %d\n", limit));
}