lkml.org 
[lkml]   [1996]   [Jul]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectApricot.c ---> stop warnings
Hello,
In linux/drivers/net/apricot.c, the sentences :

301: while (lp->scb.status, lp->scb.command)
313: while (lp->scb.status, lp->scb.command)
430: while (lp->scb.status, lp->scb.command)
448: while (lp->scb.status, lp->scb.command)
465: while ((lp->scb.status, lp->scb.command) || lp->scb.command)
502: while (lp->scb.status, lp->scb.command)
770: while (lp->scb.status, lp->scb.command)
892: while (lp->scb.status, lp->scb.command)
930: while (lp->scb.status, lp->scb.command)

might become
while (lp->scb.command)
It'll stop lots of "left-hand operand of comma expression has no effect"

Or am I wrong ?

Amicalement,
--
Jean Charles Delepine - Université du Havre || | | | | | | \ /
Tel: +33 35195738 / Fax: +33 35195715 || | | |\ | | | \/
Mail : J.C.Delepine@fst.univ-lehavre.fr || | | | \| | | /\
Web : http://www.neuronnexion.fr/~delepine || |__ | | | |__| / \



\
 
 \ /
  Last update: 2005-03-22 13:37    [W:0.023 / U:0.120 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site