diff --git a/dlib/test/array.cpp b/dlib/test/array.cpp index e86e00c62..e4074de2d 100644 --- a/dlib/test/array.cpp +++ b/dlib/test/array.cpp @@ -565,7 +565,7 @@ namespace } for (unsigned long i = 0; i < 100; ++i) { - unsigned long a; + unsigned long a = 0; a1.pop_back(a); DLIB_CASSERT(a == 99-i,""); }