Bug 155811

Summary: memtest86-3.2-8: dodgy code
Product: [openSUSE] SUSE LINUX 10.0 Reporter: David Binderman <dcb314>
Component: BasesystemAssignee: Torsten Duwe <duwe>
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-07 18:17:54 UTC
I just tried to compile package memtest86-3.2-8 with the GNU C compiler.

It said

main.c:442: warning: comparisons like X<=Y<=Z do not have their mathematical meaning

The source code is

	for (v->pass_ticks=0, i=0; i<DEFTESTS != NULL; i++) {

I agree with the compiler.  Suggest code rework.
Comment 1 Torsten Duwe 2007-02-02 13:49:06 UTC
package updated