Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
D
dlib
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
钟尚武
dlib
Commits
89fb5c2e
Commit
89fb5c2e
authored
6 years ago
by
Davis King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cleanup
parent
4e4acf79
master
No related merge requests found
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
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 )
// 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.
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_structp
png_ptr_
;
png_infop
info_ptr_
;
...
...
@@ -47,8 +51,4 @@ int main() {
fclose
(
fp
);
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
();
}
This diff is collapsed.
Click to expand it.
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