Преглед изворни кода

tje_encode_to_file_at_quality missing return path

Sergio Gonzalez пре 10 година
родитељ
комит
548d1e9bc1
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      tiny_jpeg.h

+ 1 - 0
tiny_jpeg.h

@@ -1169,6 +1169,7 @@ int tje_encode_to_file_at_quality(const char* dest_path,
 
     result |= 0 == fclose(fd);
 
+    return result;
 }
 
 int tje_encode_with_func(tje_write_func* func,