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

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy