From df979b404486fde2db26002a48c0a05d7f766cd6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?C=C3=B4me=20Chilliet?= Date: Tue, 29 Nov 2016 11:08:31 +0700 Subject: [PATCH] Fixed a clang warning --- Source/ImageIO.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/ImageIO.cpp b/Source/ImageIO.cpp index affcb8c..3e9f155 100644 --- a/Source/ImageIO.cpp +++ b/Source/ImageIO.cpp @@ -154,7 +154,7 @@ static bool load_png(const char *file_name, ImageRec &tex) if (fp == NULL) { cerr << file_name << " not found" << endl; - return(NULL); + return false; } png_ptr = png_create_read_struct(PNG_LIBPNG_VER_STRING, NULL, NULL, NULL); -- 2.39.5