New gcc versions comlpain about undefined behaviour...
This commit is contained in:
parent
daec6ebf58
commit
18c3e1a37c
|
@ -245,11 +245,11 @@ printf("modemuncher: doneflag = %u\n", doneFlag);
|
|||
if (ch_mode) switch (op)
|
||||
{
|
||||
case '+':
|
||||
*mode = *mode |= ch_mode & affected_bits;
|
||||
*mode |= ch_mode & affected_bits;
|
||||
break;
|
||||
|
||||
case '-':
|
||||
*mode = *mode &= ~(ch_mode & affected_bits);
|
||||
*mode &= ~(ch_mode & affected_bits);
|
||||
break;
|
||||
|
||||
case '=':
|
||||
|
|
Loading…
Reference in New Issue