From: Ilia Alshanetsky Date: Sat, 6 Sep 2008 21:31:01 +0000 (+0000) Subject: Removed unused variables X-Git-Tag: BEFORE_NS_RULES_CHANGE~457 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a6860ce9649671afb837e80d3e21078f3a00eab6;p=php Removed unused variables --- diff --git a/ext/fileinfo/libmagic/compress.c b/ext/fileinfo/libmagic/compress.c index b611637fd2..4e7c559825 100644 --- a/ext/fileinfo/libmagic/compress.c +++ b/ext/fileinfo/libmagic/compress.c @@ -84,8 +84,6 @@ private const struct { { "BZh", 3, { "bzip2", "-cd", NULL }, 1 }, /* bzip2-ed */ }; -private size_t ncompr = sizeof(compr) / sizeof(compr[0]); - #define NODATA ((size_t)~0) @@ -176,7 +174,7 @@ swrite(int fd, const void *buf, size_t n) protected ssize_t sread(int fd, void *buf, size_t n, int canbepipe) { - int rv, cnt; + int rv; #ifdef FIONREAD int t = 0; #endif