mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
[svn] Place variable declarations in escnonprint_internal before other
statements.
This commit is contained in:
parent
1fab70a664
commit
69e45d2c7c
@ -704,10 +704,11 @@ static const char *
|
||||
escnonprint_internal (const char *str, char escape, int base)
|
||||
{
|
||||
static int ringpos; /* current ring position */
|
||||
int nprcnt;
|
||||
|
||||
assert (base == 8 || base == 16);
|
||||
|
||||
int nprcnt = count_nonprint (str);
|
||||
nprcnt = count_nonprint (str);
|
||||
if (nprcnt == 0)
|
||||
/* If there are no non-printable chars in STR, don't bother
|
||||
copying anything, just return STR. */
|
||||
|
Loading…
Reference in New Issue
Block a user