1
0
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:
hniksic 2005-05-08 09:16:17 -07:00
parent 1fab70a664
commit 69e45d2c7c

View File

@ -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. */