summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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));
}