]> git.ipfire.org Git - thirdparty/curl.git/commit
tool_getparam: remove two redundant conditions
authorDaniel Stenberg <daniel@haxx.se>
Fri, 10 May 2024 08:24:15 +0000 (10:24 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 10 May 2024 13:54:01 +0000 (15:54 +0200)
commitcabbb9b2a5a5dfec0709ceb19a731af2bf012cf2
tree67828b4cea0e8a37176ff1af74cf583b9b7499e5
parent2036bebb07af9377f2eaf39da8f0a491497b177b
tool_getparam: remove two redundant conditions

When getstr() does not return error, it returns a valid pointer.

Spotted by CodeSonar

Closes #13576
src/tool_getparam.c