summaryrefslogtreecommitdiff
path: root/luaext
diff options
context:
space:
mode:
authorMichael Schroeder <mls@suse.de>2010-04-12 12:11:05 +0200
committerFlorian Festi <ffesti@redhat.com>2010-04-12 12:11:05 +0200
commit18c3e1a37c482811b7b3af1415ef67aac527b869 (patch)
treee329b858be935bb8759d34815686c0ebb8c9e577 /luaext
parentdaec6ebf58331776279f389738af4788b865033d (diff)
downloadrpm-18c3e1a37c482811b7b3af1415ef67aac527b869.tar.gz
rpm-18c3e1a37c482811b7b3af1415ef67aac527b869.tar.bz2
rpm-18c3e1a37c482811b7b3af1415ef67aac527b869.zip
New gcc versions comlpain about undefined behaviour...
Diffstat (limited to 'luaext')
-rw-r--r--luaext/modemuncher.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/luaext/modemuncher.c b/luaext/modemuncher.c
index 9399eaa57..ed86d9f89 100644
--- a/luaext/modemuncher.c
+++ b/luaext/modemuncher.c
@@ -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 '=':