Bug 156968

Summary: python-egenix-mx-base-2.0.6-9: dodgy code
Product: [openSUSE] SUSE LINUX 10.0 Reporter: David Binderman <dcb314>
Component: BasesystemAssignee: Jan Matejek <jmatejek>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: SuSE Linux 10.1   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description David Binderman 2006-03-10 10:15:06 UTC
I just tried to compile package python-egenix-mx-base-2.0.6-9 with the GNU C compiler.

It said

mx/Tools/mxTools/mxTools.c:2136: warning: comparisons like X<=Y<=Z do not have their mathematical meaning

The source code is

	if (0 < number_len < sizeof(buffer)) {

Suggest code rework for maintainability.
Comment 1 Jan Matejek 2006-03-13 16:29:49 UTC
fixed