Commit a30bc7c7 authored by Peter Eisentraut's avatar Peter Eisentraut

Remove dangling else warning (Cyrillic recode stuff)

parent 9533de72
...@@ -8,7 +8,7 @@ ...@@ -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) ...@@ -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;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment