]> git.ipfire.org Git - thirdparty/curl.git/commit
tool_cb_wrt: fix variable shadowing warning
authorMarcel Raad <Marcel.Raad@teamviewer.com>
Sat, 8 Jul 2017 09:43:51 +0000 (11:43 +0200)
committerMarcel Raad <Marcel.Raad@teamviewer.com>
Sun, 9 Jul 2017 12:38:10 +0000 (14:38 +0200)
commitf601f42787f583e033f2af1cd88ce785f6af08d1
tree1ae9081ce8c6410a2acdb886c5e1df82278682ec
parenta548183546cd6d9983cb46a4e2e17ea3116432d4
tool_cb_wrt: fix variable shadowing warning

GCC 4.4 complains:
tool_cb_wrt.c:81: error: declaration of ‘isatty’ shadows a global
declaration
/usr/include/unistd.h:782: error: shadowed declaration is here

Fix this by renaming the variable.

Closes https://github.com/curl/curl/pull/1661
src/tool_cb_wrt.c