erroneous reassignment to variable (keypunch?)
Bug #600896 reported by
Stuart R Balfour
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dvd+rw-tools (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: dvd+rw-tools
dvd+rw-tools-7.1-6, kubuntu 10.04.
The following code in poor_man_
contains a coding error:
else if (profile==0x1A || // DVD+RW
{ fprintf (stderr,"%s: flushing cache\n"
if (flush_cache(cmd)) exit (errno);
}
The expression (profile&=0x40) should almost certainly not be
an embedded assignment. Even if it is not causing an existing bug,
this is the kind of thing someone in the future will trip over.
To post a comment you must log in.