about summary refs log tree commit diff
path: root/src/libstore
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstore')
-rw-r--r--src/libstore/download.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/libstore/download.cc b/src/libstore/download.cc
index 4776d0091685..b3a79e82a383 100644
--- a/src/libstore/download.cc
+++ b/src/libstore/download.cc
@@ -183,7 +183,6 @@ struct CurlDownloader : public Downloader
             curl_easy_getinfo(curl, CURLINFO_RESPONSE_CODE, &httpStatus);
 
         if (res != CURLE_OK) {
-            long httpStatus = 0;
             Error err =
                 httpStatus == 404 ? NotFound :
                 httpStatus == 403 ? Forbidden : Misc;