Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
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)