Skip to content

Commit 410ee35

Browse files
committed
psql: Remove useless code
Apparently a copy-and-paste mistake introduced in 8ddd22f. found by Coverity
1 parent 08dd23c commit 410ee35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bin/psql/print.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ format_numeric_locale(const char *my_str)
207207
leading_digits;
208208
int groupdigits = atoi(grouping);
209209
int new_str_start = 0;
210-
char *new_str = new_str = pg_local_malloc(
210+
char *new_str = pg_local_malloc(
211211
strlen_with_numeric_locale(my_str) + 1);
212212

213213
leading_digits = (int_len % groupdigits != 0) ?

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