From: Gunnar Beutner Date: Sun, 1 Sep 2013 04:04:23 +0000 (+0200) Subject: Fix build warning. X-Git-Tag: v0.0.3~629 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2db418118b8d4af26951049a7a07af2477cf30e4;p=icinga2 Fix build warning. --- diff --git a/lib/base/base.vcxproj b/lib/base/base.vcxproj index 34040ed01..b779f7aaf 100644 --- a/lib/base/base.vcxproj +++ b/lib/base/base.vcxproj @@ -68,6 +68,7 @@ + @@ -268,4 +269,4 @@ - + \ No newline at end of file diff --git a/lib/base/base.vcxproj.filters b/lib/base/base.vcxproj.filters index 3db70d8b7..b9c12fd4d 100644 --- a/lib/base/base.vcxproj.filters +++ b/lib/base/base.vcxproj.filters @@ -270,6 +270,9 @@ Headerdateien + + Headerdateien + @@ -279,4 +282,4 @@ {7bbee99c-5763-4063-836c-ddbcc8966ae3} - + \ No newline at end of file diff --git a/lib/base/debug.h b/lib/base/debug.h index c86e1e80d..9bb485683 100644 --- a/lib/base/debug.h +++ b/lib/base/debug.h @@ -44,7 +44,9 @@ inline int icinga_assert_fail(const char *expr, const char *file, int line) fprintf(stderr, "%s:%d: assertion failed: %s\n", file, line, expr); abort(); +#ifndef __GNUC__ return 0; +#endif /* __GNUC__ */ } #endif /* DEBUG_H */