Cleanup: quiet nonnull-compare warning for GCC
All callers ensure this is not NULL.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user