aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/darr.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/darr.c b/lib/darr.c
index 4393c4b..9700701 100644
--- a/lib/darr.c
+++ b/lib/darr.c
@@ -71,7 +71,6 @@ darr_t darr_read_file(FILE *fp)
long size = ftell(fp);
darr_init(&darr, size);
fseek(fp, 0, SEEK_SET);
- size_t read = fread(darr.data, size, 1, fp);
- assert(read == 1);
+ fread(darr.data, size, 1, fp);
return darr;
}