summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2019-08-19 22:00:25 +0200
committerMax Kellermann <max@musicpd.org>2019-08-19 22:00:25 +0200
commitb7abd5691c5608d4d1424a6e7fbec12b34a8b57d (patch)
tree1febaed9490dd87403fd969f18201da2d50c3c05 /src
parent7a0957d7136d51b9c4680468253543812186facc (diff)
lib/curl/Global: use `auto`
Diffstat (limited to 'src')
-rw-r--r--src/lib/curl/Global.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/curl/Global.cxx b/src/lib/curl/Global.cxx
index 4e6a668f5..f27817205 100644
--- a/src/lib/curl/Global.cxx
+++ b/src/lib/curl/Global.cxx
@@ -112,7 +112,7 @@ CurlSocket::SocketFunction(gcc_unused CURL *easy,
void *userp, void *socketp) noexcept
{
auto &global = *(CurlGlobal *)userp;
- CurlSocket *cs = (CurlSocket *)socketp;
+ auto *cs = (CurlSocket *)socketp;
assert(global.GetEventLoop().IsInside());