Fixed RasPi builds of unit tests.
On RasPi with gcc 4.8.2, the asserts wouldn't compile when tests were enabled. Enforced the assumption that ASSERT code is generated only in Debug builds.
This commit is contained in:
@@ -405,7 +405,9 @@ bool cNameValueParser::Finish(void)
|
||||
}
|
||||
}
|
||||
ASSERT(!"Unhandled parser state!");
|
||||
return false;
|
||||
#ifndef __clang__
|
||||
return false;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user