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
89fb5c2e
Commit
89fb5c2e
authored
Mar 15, 2019
by
Davis King
Browse files
cleanup
parent
4e4acf79
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
dlib/cmake_utils/test_for_libpng/libpng_test.cpp
dlib/cmake_utils/test_for_libpng/libpng_test.cpp
+5
-5
No files found.
dlib/cmake_utils/test_for_libpng/libpng_test.cpp
View file @
89fb5c2e
...
@@ -16,7 +16,11 @@ void png_loader_user_warning_fn_silent(png_structp , png_const_charp )
...
@@ -16,7 +16,11 @@ void png_loader_user_warning_fn_silent(png_structp , png_const_charp )
// This code doesn't really make a lot of sense. It's just calling all the libpng functions to make
// This code doesn't really make a lot of sense. It's just calling all the libpng functions to make
// sure they can be compiled and linked.
// sure they can be compiled and linked.
int
main
()
{
int
main
()
{
std
::
cerr
<<
"This program is just for build system testing. Don't actually run it."
<<
std
::
endl
;
abort
();
png_bytep
*
row_pointers_
;
png_bytep
*
row_pointers_
;
png_structp
png_ptr_
;
png_structp
png_ptr_
;
png_infop
info_ptr_
;
png_infop
info_ptr_
;
...
@@ -47,8 +51,4 @@ int main() {
...
@@ -47,8 +51,4 @@ int main() {
fclose
(
fp
);
fclose
(
fp
);
png_destroy_read_struct
(
&
png_ptr_
,
&
info_ptr_
,
&
end_info_
);
png_destroy_read_struct
(
&
png_ptr_
,
&
info_ptr_
,
&
end_info_
);
std
::
cerr
<<
"This program is just for build system testing. Don't actually run it."
<<
std
::
endl
;
abort
();
}
}
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