mirror of
https://github.com/davisking/dlib.git
synced 2024-11-01 10:14:53 +08:00
Changed code to suppress compiler warnings
--HG-- extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402577
This commit is contained in:
parent
49063e24f3
commit
1a369c1cab
@ -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,"");
|
||||||
|
@ -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)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user