Red Hat Bugzilla – Bug 162140
operation on 'nbr_opened_channels' may be undefined
Last modified: 2007-11-30 17:11:09 EST
Description of problem:
I just tried to compile package gnomemeeting-1.2.1-1 from Redhat
Fedora Core development tree with the gcc 4.0.0 compiler and
the compiler flag -Wall.
The compiler said
sound_handling.cpp:486: warning: operation on 'nbr_opened_channels' may be undefined
The source code is
nbr_opened_channels = PMAX (nbr_opened_channels--, 0);
I agree with the compiler. Suggest avoid post decrement on macro
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Seems fixed in later versions.