Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commiteb1ee9e

Browse files
committed
Fix ODBC warnings about missing parens and pg_ismb not used (added
#ifdef NOT_USED).
1 parentb2c89fa commiteb1ee9e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

‎src/interfaces/odbc/multibyte.c

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ pg_CS CS_Table[] =
5959
{"OTHER",OTHER }
6060
};
6161

62+
#ifdefNOT_USED
6263
staticint
6364
pg_ismb(intcharacterset_code)
6465
{
@@ -70,6 +71,7 @@ pg_ismb(int characterset_code)
7071
}
7172
return (MB_CHARACTERSET[i]);
7273
}
74+
#endif
7375

7476
int
7577
pg_CS_code(constunsignedchar*characterset_string)
@@ -227,8 +229,8 @@ pg_CS_stat(int stat,unsigned int character,int characterset_code)
227229
elseif (stat==4&&
228230
character>0xa0)
229231
stat=3;
230-
elseif (stat==3||
231-
stat<2&&
232+
elseif ((stat==3||
233+
stat<2)&&
232234
character>0xa0)
233235
stat=2;
234236
elseif (stat==2)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp