diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2015-01-03 19:08:51 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2015-01-03 19:08:51 (GMT) |
commit | fcc8e1f75c7c1a2ccb5ab6e42d3b6843589dc764 (patch) | |
tree | 94d0c995b22ac3deebdeec838992be6c1e7b1f8c /src/portable.cpp | |
parent | 70afeb96108b77cb68de746b3037cc775b00a45b (diff) | |
parent | d03e4c2ae1864c6f27a4341449ce97133aeb6847 (diff) | |
download | Doxygen-fcc8e1f75c7c1a2ccb5ab6e42d3b6843589dc764.zip Doxygen-fcc8e1f75c7c1a2ccb5ab6e42d3b6843589dc764.tar.gz Doxygen-fcc8e1f75c7c1a2ccb5ab6e42d3b6843589dc764.tar.bz2 |
Merge pull request #272 from albert-github/feature/bug_unused
Remove unused local and static global variables
Diffstat (limited to 'src/portable.cpp')
-rw-r--r-- | src/portable.cpp | 5 |
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) { |