Commit eb676bf0 authored by Davis King's avatar Davis King
Browse files

Just fixes compiler warnings in gcc 4.8 and clang 3.4.

parent e9c6a774
...@@ -634,7 +634,6 @@ namespace ...@@ -634,7 +634,6 @@ namespace
- runs tests on the matrix stuff compliance with the specs - runs tests on the matrix stuff compliance with the specs
!*/ !*/
{ {
typedef memory_manager_stateless<char>::kernel_2_2a MM;
print_spinner(); print_spinner();
......
...@@ -32,7 +32,6 @@ namespace ...@@ -32,7 +32,6 @@ namespace
- runs tests on the matrix stuff compliance with the specs - runs tests on the matrix stuff compliance with the specs
!*/ !*/
{ {
typedef memory_manager_stateless<char>::kernel_2_2a MM;
print_spinner(); print_spinner();
{ {
......
...@@ -387,7 +387,6 @@ namespace ...@@ -387,7 +387,6 @@ namespace
print_spinner(); print_spinner();
++thetime; ++thetime;
typedef matrix<double,0,1> sample_type;
//dlog << LINFO << "time seed: " << thetime; //dlog << LINFO << "time seed: " << thetime;
//rnd.set_seed(cast_to_string(thetime)); //rnd.set_seed(cast_to_string(thetime));
......
...@@ -65,7 +65,7 @@ namespace ...@@ -65,7 +65,7 @@ namespace
int last = -1; int last = -1;
for (unsigned long i = 0; i < proc1_count; ++i) for (unsigned long i = 0; i < proc1_count; ++i)
{ {
int cur; int cur=0;
DLIB_TEST(p.dequeue(cur) == true); DLIB_TEST(p.dequeue(cur) == true);
DLIB_TEST(last + 1 == cur); DLIB_TEST(last + 1 == cur);
last = cur; last = cur;
......
...@@ -456,8 +456,6 @@ namespace ...@@ -456,8 +456,6 @@ namespace
typename image_type1::type thresh typename image_type1::type thresh
) )
{ {
typedef typename image_type1::type pixel_type;
const rectangle area = get_rect(img); const rectangle area = get_rect(img);
for (long r = 0; r < img.nr(); ++r) for (long r = 0; r < img.nr(); ++r)
{ {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment