aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlvaro Herrera <alvherre@alvh.no-ip.org>2023-11-21 16:10:27 +0100
committerAlvaro Herrera <alvherre@alvh.no-ip.org>2023-11-21 16:10:27 +0100
commitafc3b0143c89405540461f306137ab6a9671c3bb (patch)
treed584264dc9b60051da186e12db5e73c069a69d72 /src
parent24ea53dcfab7fe463c0cf56095e9fe5d23cdb748 (diff)
downloadpostgresql-afc3b0143c89405540461f306137ab6a9671c3bb.tar.gz
postgresql-afc3b0143c89405540461f306137ab6a9671c3bb.zip
Remove unneeded assignments in for loop header
The last use of this variable in the loop body was removed by commit 93df658a0189.
Diffstat (limited to 'src')
-rw-r--r--src/fe_utils/print.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fe_utils/print.c b/src/fe_utils/print.c
index 5bc4ef0c3e3..a91292ab6dd 100644
--- a/src/fe_utils/print.c
+++ b/src/fe_utils/print.c
@@ -1401,7 +1401,7 @@ print_aligned_vertical(const printTableContent *cont,
}
/* find longest data cell */
- for (i = 0, ptr = cont->cells; *ptr; ptr++, i++)
+ for (ptr = cont->cells; *ptr; ptr++)
{
int width,
height,