mirror of https://github.com/Icinga/icinga2.git
Fix build warning.
This commit is contained in:
parent
86e2f3dd81
commit
2db418118b
|
@ -68,6 +68,7 @@
|
|||
<ClInclude Include="bufferedstream.h" />
|
||||
<ClInclude Include="consolelogger.h" />
|
||||
<ClInclude Include="convert.h" />
|
||||
<ClInclude Include="debug.h" />
|
||||
<ClInclude Include="dynamicobject.h" />
|
||||
<ClInclude Include="dictionary.h" />
|
||||
<ClInclude Include="dynamictype.h" />
|
||||
|
@ -268,4 +269,4 @@
|
|||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
</ImportGroup>
|
||||
</Project>
|
||||
</Project>
|
|
@ -270,6 +270,9 @@
|
|||
<ClInclude Include="scriptvariable.h">
|
||||
<Filter>Headerdateien</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="debug.h">
|
||||
<Filter>Headerdateien</Filter>
|
||||
</ClInclude>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Filter Include="Quelldateien">
|
||||
|
@ -279,4 +282,4 @@
|
|||
<UniqueIdentifier>{7bbee99c-5763-4063-836c-ddbcc8966ae3}</UniqueIdentifier>
|
||||
</Filter>
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
</Project>
|
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue