Red Hat Bugzilla – Bug 145637
suspicious code in assert statement
Last modified: 2007-11-30 17:10:58 EST
Description of problem:
I just had a look at the source code for package howl-0.9.8-2
from the Redhat Fedora development tree.
I found this
[root@localhost SPECS]# find ../BUILD/howl-0.9.8/ -name \*.c -print |
xargs grep "assert.*(.* = "
sw_assert(self->m_super.m_registered = SW_TRUE);
IMHO, dubious code. Suggest remove assignment from the assert statement.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
This code isn't even built on fedora. report it upstream instead.