aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/tar_extractor.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/tar_extractor.c')
-rw-r--r--src/plugins/tar_extractor.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/plugins/tar_extractor.c b/src/plugins/tar_extractor.c
index eb308f6..2ea0ac9 100644
--- a/src/plugins/tar_extractor.c
+++ b/src/plugins/tar_extractor.c
@@ -472,14 +472,9 @@ EXTRACTOR_tar_extract (const char *data,
472 if ((0 < keylength) && (NULL != valptr) 472 if ((0 < keylength) && (NULL != valptr)
473 && (keyptr != valptr)) 473 && (keyptr != valptr))
474 { 474 {
475 unsigned int difflength = 0;
476
477 while ((valptr < data + pos + (size_t) fsize) 475 while ((valptr < data + pos + (size_t) fsize)
478 && (' ' == *valptr)) 476 && (' ' == *valptr))
479 valptr += 1; 477 valptr += 1;
480
481 difflength = (valptr - keyptr);
482
483 if (0 == memcmp (valptr, "path=", 5)) 478 if (0 == memcmp (valptr, "path=", 5))
484 { 479 {
485 nameptr = valptr + 5; 480 nameptr = valptr + 5;