Cleanup: quiet nonnull-compare warning for GCC

All callers ensure this is not NULL.
This commit is contained in:
2022-08-04 07:31:42 +10:00
parent a217e56575
commit cc1daa9b76

View File

@@ -917,7 +917,7 @@ int BKE_image_find_nearest_tile_with_offset(const Image *image,
zero_v2(r_uv_offset);
int tile_number_best = -1;
if (!image || image->source != IMA_SRC_TILED) {
if (image->source != IMA_SRC_TILED) {
return tile_number_best;
}