You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-libs/libparserutils/files/libparserutils-0.1.1-unused...

21 lines
423 B

--- libparserutils-0.1.1/test/inputstream.c
+++ libparserutils-0.1.1/test/inputstream.c
@@ -25,7 +25,7 @@
{
parserutils_inputstream *stream;
FILE *fp;
- size_t len, origlen;
+ size_t len;
#define CHUNK_SIZE (4096)
uint8_t buf[CHUNK_SIZE];
const uint8_t *c;
@@ -46,7 +46,7 @@
}
fseek(fp, 0, SEEK_END);
- origlen = len = ftell(fp);
+ len = ftell(fp);
fseek(fp, 0, SEEK_SET);
while (len >= CHUNK_SIZE) {