[MPlayer-dev-eng] [PATCH] Remove constant controlling expressions

Martin Simmons vyslnqaaxytp at spammotel.com
Sun Aug 12 01:10:57 CEST 2007


>>>>> On Thu, 09 Aug 2007 00:18:39 +0200, Carl Eugen Hoyos said:
> 
> icc claims that the following variables cannot be null ("warning #279:
> controlling expression is constant"):
> 
> char osdmessagetext[MESSAGE_SIZE];
> char posbar[MESSAGE_SIZE];
> static char vidix_name[32] = "";
> 
> Patch ok or am I misunderstanding the warning?

I'd be more worried about the varargs sprintf into fixed size buffers in
osdmessage.

__Martin



More information about the MPlayer-dev-eng mailing list