Commit 3a9541e5 authored by Nils Goroll's avatar Nils Goroll

gc unused struct member

parent 8a4e28f1
......@@ -298,7 +298,6 @@ struct vslc_file {
unsigned magic;
#define VSLC_FILE_MAGIC 0x1D65FFEF
int error;
int fd;
int close_fd;
ssize_t buflen;
......@@ -348,9 +347,6 @@ vslc_file_next(const struct VSL_cursor *cursor)
CAST_OBJ_NOTNULL(c, cursor->priv_data, VSLC_FILE_MAGIC);
assert(&c->cursor == cursor);
if (c->error)
return (c->error);
do {
c->cursor.rec.ptr = NULL;
assert(c->buflen >= 2);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment