summaryrefslogtreecommitdiffstats
path: root/src/portable.cpp
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2014-12-27 18:35:59 (GMT)
committeralbert-github <albert.tests@gmail.com>2014-12-27 18:35:59 (GMT)
commitd03e4c2ae1864c6f27a4341449ce97133aeb6847 (patch)
tree6bf55ad02e65b7e37c1f6afd86e0f8944364272b /src/portable.cpp
parented39dab59f8af2c5b42cfac0b3140cf594412121 (diff)
downloadDoxygen-d03e4c2ae1864c6f27a4341449ce97133aeb6847.zip
Doxygen-d03e4c2ae1864c6f27a4341449ce97133aeb6847.tar.gz
Doxygen-d03e4c2ae1864c6f27a4341449ce97133aeb6847.tar.bz2
Remove unused local and static global variables
Remove unused local and static global variables. Variables have been identified by Understand (version 758) from Scitools.
Diffstat (limited to 'src/portable.cpp')
-rw-r--r--src/portable.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/portable.cpp b/src/portable.cpp
index 7f6be6e..ff29303 100644
--- a/src/portable.cpp
+++ b/src/portable.cpp
@@ -194,7 +194,10 @@ uint portable_pid()
return pid;
}
-static char **last_environ;
+#if defined(_WIN32) && !defined(__CYGWIN__)
+#else
+ static char **last_environ;
+#endif
void portable_setenv(const char *name,const char *value)
{