Skip to content
Snippets Groups Projects
Commit 410ee35e authored by Peter Eisentraut's avatar Peter Eisentraut
Browse files

psql: Remove useless code

Apparently a copy-and-paste mistake introduced in
8ddd22f2.

found by Coverity
parent 08dd23ce
No related branches found
No related tags found
No related merge requests found
......@@ -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) ?
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment