From: Côme Chilliet Date: Tue, 29 Nov 2016 04:08:31 +0000 (+0700) Subject: Fixed a clang warning X-Git-Url: https://git.jsancho.org/?a=commitdiff_plain;h=df979b404486fde2db26002a48c0a05d7f766cd6;p=lugaru.git Fixed a clang warning --- 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);