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

Commit895f937

Browse files
committed
Fix cpluspluscheck warning
Structure tag cannot be the same as a typedef that is a pointer to thatstruct.
1 parent9b95f2f commit895f937

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/include/utils/pg_locale.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ extern void cache_locale_time(void);
6666
* fake version of the standard type locale_t in the global namespace.
6767
* pg_locale_t is occasionally checked for truth, so make it a pointer.
6868
*/
69-
structpg_locale_t
69+
structpg_locale_struct
7070
{
7171
charprovider;
7272
union
@@ -84,7 +84,7 @@ struct pg_locale_t
8484
}info;
8585
};
8686

87-
typedefstructpg_locale_t*pg_locale_t;
87+
typedefstructpg_locale_struct*pg_locale_t;
8888

8989
externpg_locale_tpg_newlocale_from_collation(Oidcollid);
9090

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp