]> git.ipfire.org Git - thirdparty/curl.git/commit
tool_getparam: remove two nextarg NULL checks
authorDaniel Stenberg <daniel@haxx.se>
Thu, 29 May 2025 08:45:52 +0000 (10:45 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 29 May 2025 09:54:49 +0000 (11:54 +0200)
commit12d13b84fa40aa657b83d5458944dbd9b978fb7e
treecd7d7ffa7682389679de6a64b330f9aadb2cb08a
parent620401f193047aa845dd73cc109cdfa7e260bda1
tool_getparam: remove two nextarg NULL checks

Because by checking for NULL when the argument can never be NULL, they
mislead the static analyzers into thinking it *can* be NULL and then the
analyzers tend to warn about other places in the code *without* the
check!

Closes #17483
src/tool_getparam.c