Commit 17080976 authored by Dark Templar's avatar Dark Templar Committed by Albert Astals Cid

Fix -Wreturn-type warning for jpeg version check

Summary: See also:

Test Plan:
Build gwenview with '-Werror=return-type' in CFLAGS/CXXFLAGS.
Without this patch cmake call should fail if clean build directory is used.
With this patch applied build should succeed.

Reviewers: ngraham, aacid

Tags: #gwenview

Differential Revision:
parent 408d4c34
......@@ -18,7 +18,7 @@ file(WRITE ${JPEGLIB_VERSION_CHECK_PATH} "
#include <stdlib.h>
#include <jpeglib.h>
int main(void) { printf(\"%d\\\n\", JPEG_LIB_VERSION); }
int main(void) { printf(\"%d\\\n\", JPEG_LIB_VERSION); return 0; }
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