summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/dump.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dump.c b/src/dump.c
index ef83b34..8af7119 100644
--- a/src/dump.c
+++ b/src/dump.c
@@ -582,6 +582,8 @@ noop:
decl->buf.written += decl->size * read;
decl->nmemb = read;
}
+
+ assert(decl->nmemb != 0);
}
break;