cppcheck warning suppressions

This commit is contained in:
Pavel Kirienko
2014-08-03 14:27:33 +04:00
parent 63843285a0
commit 6c972e6ba5
7 changed files with 8 additions and 8 deletions
+1
View File
@@ -41,6 +41,7 @@ static inline bool isnan(T arg)
#if UAVCAN_CPP_VERSION >= UAVCAN_CPP11
return std::isnan(arg);
#else
// cppcheck-suppress duplicateExpression
return arg != arg;
#endif
}