Leap-15.6, gcc13.3.0, "cb-13667::plugins|compilergcc|depslib|src|cache.c'
I dropped a ticket with a correction :
https://sourceforge.net/p/codeblocks/tickets/1535/ (https://sourceforge.net/p/codeblocks/tickets/1535/)
Have a look at the https://forums.next.codeblocks.org/index.php/topic,25960.msg177430/topicseen.html#msg177430 thread as is for the same if/then block in the patch.
Fixed in r13669 (https://sourceforge.net/p/codeblocks/code/13669/) and r13670 (https://sourceforge.net/p/codeblocks/code/13670/).
Thanks to 'Miguel Gimenez'