Mercurial > trustbridge
changeset 162:4a4b5e640d1a
Fix build for windows with -Wunused -Werror
author | Andre Heinecke <aheinecke@intevation.de> |
---|---|
date | Tue, 25 Mar 2014 10:08:56 +0000 |
parents | a4b1c77f3e6a |
children | 8cfcd38a9bb3 |
files | common/portpath.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/common/portpath.c Tue Mar 25 10:08:31 2014 +0000 +++ b/common/portpath.c Tue Mar 25 10:08:56 2014 +0000 @@ -12,6 +12,7 @@ #ifndef _WIN32 return dirname(path); #else + if (path){}; fprintf(stderr, "Windows Suport missing!"); abort(); #endif @@ -24,6 +25,7 @@ #ifndef _WIN32 return realpath(path, NULL); #else + if (path){}; fprintf(stderr, "Windows Suport missing!"); abort(); #endif