Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

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

+2-2
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)