git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 24ea53d)
Remove unneeded assignments in for loop header
2023年11月21日 15:10:27 +0000 (16:10 +0100)
2023年11月21日 15:10:27 +0000 (16:10 +0100)
The last use of this variable in the loop body was removed by commit
93df658a0189.


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,
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /