]> git.ipfire.org Git - thirdparty/curl.git/commit
urlapi: don't set value which is never read
authorDaniel Gustafsson <daniel@yesql.se>
Wed, 19 Sep 2018 11:44:10 +0000 (13:44 +0200)
committerDaniel Gustafsson <daniel@yesql.se>
Wed, 19 Sep 2018 11:44:10 +0000 (13:44 +0200)
commit522e647cc52c45ebdb58d57f242204f9a72c45dd
treeb4cba63aee9667de119f5f1082ede16dc268aa38
parent056cc37ed4eb1c5905e3732716e3a3d44039e6a8
urlapi: don't set value which is never read

In the CURLUPART_URL case, there is no codepath which invokes url
decoding so remove the assignment of the urldecode variable. This
fixes the deadstore bug-report from clang static analysis.

Closes #3015
Reviewed-by: Daniel Stenberg <daniel@haxx.se>
lib/urlapi.c