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());