Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dlib
Commits
eb676bf0
Commit
eb676bf0
authored
Oct 31, 2013
by
Davis King
Browse files
Just fixes compiler warnings in gcc 4.8 and clang 3.4.
parent
e9c6a774
Changes
25
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
1 addition
and
6 deletions
+1
-6
dlib/test/matrix3.cpp
dlib/test/matrix3.cpp
+0
-1
dlib/test/matrix4.cpp
dlib/test/matrix4.cpp
+0
-1
dlib/test/opt_qp_solver.cpp
dlib/test/opt_qp_solver.cpp
+0
-1
dlib/test/pipe.cpp
dlib/test/pipe.cpp
+1
-1
dlib/test/scan_image.cpp
dlib/test/scan_image.cpp
+0
-2
No files found.
dlib/test/matrix3.cpp
View file @
eb676bf0
...
@@ -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
();
...
...
dlib/test/matrix4.cpp
View file @
eb676bf0
...
@@ -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
();
{
{
...
...
dlib/test/opt_qp_solver.cpp
View file @
eb676bf0
...
@@ -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));
...
...
dlib/test/pipe.cpp
View file @
eb676bf0
...
@@ -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
;
...
...
dlib/test/scan_image.cpp
View file @
eb676bf0
...
@@ -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
)
{
{
...
...
Prev
1
2
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment