Remove unneeded assignments in for loop header
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Tue, 21 Nov 2023 15:10:27 +0000 (16:10 +0100)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Tue, 21 Nov 2023 15:10:27 +0000 (16:10 +0100)
The last use of this variable in the loop body was removed by commit
93df658a0189.

src/fe_utils/print.c

index 5bc4ef0c3e300167a7b3884060f4ed752917bc47..a91292ab6dd5362e702e10642d7e66b5bfd27ee0 100644 (file)
@@ -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,