[poppler] poppler/CurlCachedFile.cc
Albert Astals Cid
aacid at kemper.freedesktop.org
Sat Mar 12 05:45:13 PST 2011
poppler/CurlCachedFile.cc | 2 --
1 file changed, 2 deletions(-)
New commits:
commit 5aa369e68e5c9f14efc888c7b26da06aa8bd2a78
Author: Albert Astals Cid <aacid at kde.org>
Date: Sat Mar 12 13:47:34 2011 +0000
Remove unused variable
diff --git a/poppler/CurlCachedFile.cc b/poppler/CurlCachedFile.cc
index f4beec2..bd50241 100644
--- a/poppler/CurlCachedFile.cc
+++ b/poppler/CurlCachedFile.cc
@@ -38,7 +38,6 @@ noop_cb(char *ptr, size_t size, size_t nmemb, void *ptr2)
size_t
CurlCachedFileLoader::init(GooString *urlA, CachedFile *cachedFileA)
{
- long code = NULL;
double contentLength = -1;
size_t size;
@@ -51,7 +50,6 @@ CurlCachedFileLoader::init(GooString *urlA, CachedFile *cachedFileA)
curl_easy_setopt(curl, CURLOPT_NOBODY, 1);
curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, &noop_cb);
curl_easy_perform(curl);
- curl_easy_getinfo(curl, CURLINFO_RESPONSE_CODE, &code);
curl_easy_getinfo(curl, CURLINFO_CONTENT_LENGTH_DOWNLOAD, &contentLength);
curl_easy_reset(curl);
More information about the poppler
mailing list