lkml.org 
[lkml]   [1997]   [Jul]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subjectconfusion in apricot.c
Date
Hi,

When compiling the linux/drivers/net/apricot.c file (2.0.30 + unrelated
patches):

apricot.c: In function init_i596_mem':
apricot.c:301: warning: left-hand operand of comma expression has no effect
apricot.c:313: warning: left-hand operand of comma expression has no effect
[+ many more of the same]

I find warnings annoying so I took a look and the file. It contains pieces
of code like:

while (lp->scb.status, lp->scb.command)
....

Is this simply a result of an over enthusiastic search/replace or was there
some intended action that's not quite made it into the kernel yet?

Cheers

Andrew
--
Linux-PAM, libpwdb, Orange-Linux and Linux-GSS
http://parc.power.net/morgan/index.html

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