Misc small fixes to suppress warnings.

Code should now be clean with msvc /W4 and gcc /Wall /Wextra -pedantic with the exception of one deliberate warning in one test.

[SVN r57510]
This commit is contained in:
John Maddock
2009-11-09 12:27:54 +00:00
parent febafb7cb8
commit fce9ad4e1b
5 changed files with 17 additions and 2 deletions
+2
View File
@@ -19,4 +19,6 @@ struct foo
int test_main(int, char*[])
{
foo x = implicit_cast<foo>("foobar");
(void)x; // warning suppression.
return 0;
}