8000 Remove unnecessary initialization of local variables. · zyfran/postgres@733be2a · GitHub
[go: up one dir, main page]

Skip to content

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

Appearance settings

Commit 733be2a

Browse files
committed
Remove unnecessary initialization of local variables.
Oops, forgot these in the prveious commit.
1 parent 33755e8 commit 733be2a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

contrib/pg_upgrade/check.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -307,8 +307,8 @@ check_locale_and_encoding(DbInfo *olddb, DbInfo *newdb)
307307
static bool
308308
equivalent_locale(int category, const char *loca, const char *locb)
309309
{
310-
const char *chara = strrchr(loca, '.');
311-
const char *charb = strrchr(locb, '.');
310+
const char *chara;
311+
const char *charb;
312312
char *canona;
313313
char *canonb;
314314
int lena;

0 commit comments

Comments
 (0)
0