Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/libalpm/dload.h
diff options
context:
space:
mode:
authorAnatol Pomozov <anatol.pomozov@gmail.com>2020-03-09 15:36:48 -0700
committerAllan McRae <allan@archlinux.org>2020-05-09 11:58:21 +1000
commitfa68c33fa821cd7ddc5ae32baf62af2a238e44dc (patch)
tree44096bdae0be271e09a6367fa2518c02b96a9f13 /lib/libalpm/dload.h
parentdc98d0ea09f3632cd28a12099f3f09d466dcad1d (diff)
Inline dload_payload->curlerr field into a local variable
dload_payload->curlerr is a field that is used inside curl_download_internal() function only. It can be converted to a local variable. Signed-off-by: Anatol Pomozov <anatol.pomozov@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib/libalpm/dload.h')
-rw-r--r--lib/libalpm/dload.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/libalpm/dload.h b/lib/libalpm/dload.h
index 65fcdadb..e87b6a93 100644
--- a/lib/libalpm/dload.h
+++ b/lib/libalpm/dload.h
@@ -45,7 +45,6 @@ struct dload_payload {
int cb_initialized;
#ifdef HAVE_LIBCURL
CURL *curl;
- CURLcode curlerr; /* last error produced by curl */
#endif
};