uclient: fix initialized but never read variable
authorPetr Štetiar <ynezz@true.cz>
Tue, 8 Dec 2020 16:41:44 +0000 (17:41 +0100)
committerPetr Štetiar <ynezz@true.cz>
Fri, 11 Dec 2020 10:17:22 +0000 (11:17 +0100)
commit158dd9dd289ca3fe1feb1c580ab2a8014d2ffb78
treed771d0ae9f1974710049a637a22707fc1ea7c732
parent66b4420856a7eb2c5a9f9a7acdb7e796ed807b17
uclient: fix initialized but never read variable

Fixes following issue reported by clang-12 static analyzer:

 uclient.c:290:22: warning: Value stored to 'url' during its initialization is never read [deadcode.DeadStores]
         struct uclient_url *url = cl->url;
                             ^~~   ~~~~~~~

Signed-off-by: Petr Štetiar <ynezz@true.cz>
uclient.c