diff options
author | Daniel Stenberg <daniel@haxx.se> | 2015-05-22 16:43:58 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2015-05-22 16:46:01 +0200 |
commit | 1514977bcde37c59f863a0f40c7d9f66d9e33370 (patch) | |
tree | 87c21f0ed7e61460b85a82260e6691467c9a4bcb /src/tool_metalink.c | |
parent | fda0e74c226b75a1379f43c46a0e0de4297eb9fc (diff) |
security: simplify choose_mech
Coverity CID 1299424 identified dead code because of checks that could
never equal true (if the mechanism's name was NULL).
Simplified the function by removing a level of pointers and removing the
loop and array that weren't used.
Diffstat (limited to 'src/tool_metalink.c')
0 files changed, 0 insertions, 0 deletions