Cleanup: quiet nonnull-compare warning for GCC

All callers ensure this is not NULL.
This commit is contained in:
Campbell Barton 2022-08-04 07:31:42 +10:00
parent a217e56575
commit cc1daa9b76
Notes: blender-bot 2023-02-14 07:39:44 +01:00
Referenced by commit 4a11c0aabb, Fix regression: crash with uv constrain to bounds without image
1 changed files with 1 additions and 1 deletions

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;
}