From c0c1198d35764518130db7f044e89e334591ac67 Mon Sep 17 00:00:00 2001 From: libretroadmin Date: Sat, 4 Jun 2022 10:04:59 +0200 Subject: [PATCH] (GCC12) Get rid of warning: the comparison will always evaluate as 'true' for the pointer operand in 'filt->thread_data + (sizetype)((long long unsigned int)i * 48)' must not be NULL [-Waddress] --- gfx/video_filter.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/gfx/video_filter.c b/gfx/video_filter.c index f838539966..092a5d2a81 100644 --- a/gfx/video_filter.c +++ b/gfx/video_filter.c @@ -509,8 +509,6 @@ void rarch_softfilter_free(rarch_softfilter_t *filt) { for (i = 0; i < filt->threads; i++) { - if (!&filt->thread_data[i]) - continue; if (!filt->thread_data[i].thread) continue; slock_lock(filt->thread_data[i].lock);