[Bug 361610] New: dante-1.1.19-92: assignment in assert
https://bugzilla.novell.com/show_bug.cgi?id=361610 User dcb314@hotmail.com added comment https://bugzilla.novell.com/show_bug.cgi?id=361610#c187 Summary: dante-1.1.19-92: assignment in assert Product: openSUSE 11.0 Version: Alpha 2 Platform: All OS/Version: openSUSE 11.0 Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: dcb314@hotmail.com QAContact: qa@suse.de Found By: --- I just tried to compile the package dante-1.1.19-92 with the Intel C compiler. The compiler said sockd_request.c(933): warning #187: use of "=" where "==" may have been intended The source code is SASSERTX(fio->state.command = SOCKS_BINDREPLY); Perhaps the programmer intended SASSERTX(fio->state.command == SOCKS_BINDREPLY); -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=361610
Marcus Meissner
https://bugzilla.novell.com/show_bug.cgi?id=361610
User mge@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=361610#c1
Matthias Eckermann
https://bugzilla.novell.com/show_bug.cgi?id=361610
User dcb314@hotmail.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=361610#c2
David Binderman
I don't see an issue here.
Then you need to look more deeply at the problem. I think this is a C FAQ. Asserts are usually in the code for development builds, but common practice is to take them out for production builds. Different behaviour results for this nested assignment. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=361610
User mge@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=361610#c3
Matthias Eckermann
https://bugzilla.novell.com/show_bug.cgi?id=361610
User meissner@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=361610#c4
--- Comment #4 from Marcus Meissner
participants (1)
-
bugzilla_noreply@novell.com