projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
24ea53d
)
Remove unneeded assignments in for loop header
author
Alvaro Herrera
<
[email protected]
>
Tue, 21 Nov 2023 15:10:27 +0000
(16:10 +0100)
committer
Alvaro Herrera
<
[email protected]
>
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
patch
|
blob
|
blame
|
history
diff --git
a/src/fe_utils/print.c
b/src/fe_utils/print.c
index 5bc4ef0c3e300167a7b3884060f4ed752917bc47..a91292ab6dd5362e702e10642d7e66b5bfd27ee0 100644
(file)
--- 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,