fix fix Issue 6720 - ICE(cod1.c) casting return of void function to bool