diff options
author | Steve Holme <steve_holme@hotmail.com> | 2014-12-30 17:08:16 +0000 |
---|---|---|
committer | Steve Holme <steve_holme@hotmail.com> | 2014-12-30 17:13:07 +0000 |
commit | e9d0c7a6f366f3e4ef56c408a991700f600f20cf (patch) | |
tree | 5d66d1bd696c2fe696abed1fd9c88d84f3cd7246 /src/tool_getparam.c | |
parent | 56603e27708748887f0eb8dc09674077886c6551 (diff) |
vtls: Use '(void) arg' for unused parameters
Prefer void for unused parameters, rather than assigning an argument to
itself as a) unintelligent compilers won't optimize it out, b) it can't
be used for const parameters, c) it will cause compilation warnings for
clang with -Wself-assign and d) is inconsistent with other areas of the
curl source code.
Diffstat (limited to 'src/tool_getparam.c')
0 files changed, 0 insertions, 0 deletions