Changed code to suppress compiler warnings

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402577
This commit is contained in:
Davis King 2008-10-18 16:40:22 +00:00
parent 49063e24f3
commit 1a369c1cab
2 changed files with 2 additions and 2 deletions

View File

@ -52,7 +52,7 @@ namespace
// report as an error/failed test. // report as an error/failed test.
DLIB_CASSERT(e.at_start() == true,""); DLIB_CASSERT(e.at_start() == true,"");
int a; int a = 0;
DLIB_CASSERT(q.size() == 0,""); DLIB_CASSERT(q.size() == 0,"");
DLIB_CASSERT(q.at_start() == true,""); DLIB_CASSERT(q.at_start() == true,"");

View File

@ -56,7 +56,7 @@ namespace
} }
int x; int x = 0;
for (int i = 0; i < (int)a.size(); ++i) for (int i = 0; i < (int)a.size(); ++i)
{ {