mirror of
https://github.com/postgres/postgres.git
synced 2025-05-01 01:04:50 +03:00
psql: Remove useless code
Apparently a copy-and-paste mistake introduced in 8ddd22f2456af0155f9c183894f481203e86b76e. found by Coverity
This commit is contained in:
parent
08dd23cec7
commit
410ee35ed0
@ -207,7 +207,7 @@ format_numeric_locale(const char *my_str)
|
||||
leading_digits;
|
||||
int groupdigits = atoi(grouping);
|
||||
int new_str_start = 0;
|
||||
char *new_str = new_str = pg_local_malloc(
|
||||
char *new_str = pg_local_malloc(
|
||||
strlen_with_numeric_locale(my_str) + 1);
|
||||
|
||||
leading_digits = (int_len % groupdigits != 0) ?
|
||||
|
Loading…
x
Reference in New Issue
Block a user