mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-01 03:22:48 -05:00
Remove assorted dead code.
Assignments that are overwritten shortly afterwards and never used, and a completely unused variable. Also, the bogus array access in testbn.c could have actually accessed one beyond the array limit (though of course it's only in a test harness).
This commit is contained in:
@ -365,7 +365,7 @@ void split_into_argv(char *cmdline, int *argc, char ***argv,
|
||||
|
||||
if (quotes > 0) {
|
||||
/* Outside a quote segment, a quote starts one. */
|
||||
if (!quote) quotes--, quote = 1;
|
||||
if (!quote) quotes--;
|
||||
|
||||
/* Now we produce (n+1)/3 literal quotes... */
|
||||
for (i = 3; i <= quotes+1; i += 3) *q++ = '"';
|
||||
|
Reference in New Issue
Block a user