mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Fix all -Wshadow warnings on Linux
This is a partial fix for 18902.
This commit is contained in:
+2
-2
@@ -3812,9 +3812,9 @@ format_win_cmdline_argument(const char *arg)
|
||||
formatted_arg[i++] = '"';
|
||||
|
||||
/* Add characters */
|
||||
SMARTLIST_FOREACH(arg_chars, char*, c,
|
||||
SMARTLIST_FOREACH(arg_chars, char*, ch,
|
||||
{
|
||||
formatted_arg[i++] = *c;
|
||||
formatted_arg[i++] = *ch;
|
||||
});
|
||||
|
||||
/* Add trailing quote */
|
||||
|
||||
Reference in New Issue
Block a user