Cleanup additional GCC warnings

When turning on the following flags, several additional warnings
were generated, which have been cleaned up in this patch. The
flags included:

-Wextra
-Wpedantic
-Wconversion
-Wsign-conversion
-Wctor-dtor-privacy
-Wshadow
-Wnon-virtual-dtor
-Wold-style-cast
-Wcast-align
-Woverloaded-virtual
This commit is contained in:
Rian Quinn
2016-11-03 19:38:32 -06:00
committed by Neil MacIntosh
parent 38f453d608
commit d641796b21
10 changed files with 21 additions and 20 deletions

View File

@@ -67,7 +67,7 @@ SUITE(utils_tests)
}
int j = 0;
void g() { j += 1; };
void g() { j += 1; }
TEST(finally_function_ptr)
{
j = 0;