mirror of
https://github.com/postgres/postgres.git
synced 2025-04-21 12:05:57 +03:00
Remove dangling else warning (Cyrillic recode stuff)
This commit is contained in:
parent
9533de72bf
commit
a30bc7c75a
@ -8,7 +8,7 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $Header: /cvsroot/pgsql/src/backend/utils/init/miscinit.c,v 1.51 2000/07/02 15:20:56 petere Exp $
|
* $Header: /cvsroot/pgsql/src/backend/utils/init/miscinit.c,v 1.52 2000/07/14 16:41:44 petere Exp $
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
@ -260,10 +260,12 @@ convertstr(unsigned char *buff, int len, int dest)
|
|||||||
for (i = 0; i < len; i++, buff++)
|
for (i = 0; i < len; i++, buff++)
|
||||||
{
|
{
|
||||||
if (*buff > 127)
|
if (*buff > 127)
|
||||||
|
{
|
||||||
if (dest)
|
if (dest)
|
||||||
*buff = RecodeForwTable[*buff - 128];
|
*buff = RecodeForwTable[*buff - 128];
|
||||||
else
|
else
|
||||||
*buff = RecodeBackTable[*buff - 128];
|
*buff = RecodeBackTable[*buff - 128];
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return ch;
|
return ch;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user