Re: dd.c: code issue, assignment with no effect

2006-03-30 Thread Jim Meyering
Felix Rauch Valenti <[EMAIL PROTECTED]> wrote: > While working on a prototype for a static analysis tool, we found the > following issue in dd.c of coreutils version 5.94. > > The assignment in the following line of the function iwrite() has no > effect (line number 755 of dd.c): > nwritten

dd.c: code issue, assignment with no effect

2006-03-30 Thread Felix Rauch Valenti
While working on a prototype for a static analysis tool, we found the following issue in dd.c of coreutils version 5.94. The assignment in the following line of the function iwrite() has no effect (line number 755 of dd.c): nwritten = -1; Right after the assignment is a 'break' stateme