# HG changeset patch # User Andre Heinecke # Date 1395742136 0 # Node ID 4a4b5e640d1ae00384608bdb717dec862bfc369d # Parent a4b1c77f3e6ad3c5a594f941913953d7be9730c2 Fix build for windows with -Wunused -Werror diff -r a4b1c77f3e6a -r 4a4b5e640d1a common/portpath.c --- 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