mirror of
git://git.sv.gnu.org/coreutils.git
synced 2026-02-11 01:42:17 +02:00
maint: remove a redundant write after mcel_scan returns an error
* gl/lib/mbbuf.h (mbbuf_get_char): Don't set G.len to 1, since mcel_err has already done it.
This commit is contained in:
@@ -97,7 +97,6 @@ mbbuf_get_char (mbbuf_t *mbbuf)
|
||||
{
|
||||
/* Assume the program will emit the byte, but keep the error flag. */
|
||||
g.ch = mbbuf->buffer[mbbuf->offset++];
|
||||
g.len = 1;
|
||||
}
|
||||
return g;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user