Content-Length: 262687 | pFad | http://github.com/postgrespro/postgres/commit/733be2a5cd124b28a15d5d09de9b227691e6c5a0

90 Remove unnecessary initialization of local variables. · postgrespro/postgres@733be2a · GitHub
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/733be2a5cd124b28a15d5d09de9b227691e6c5a0

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy