pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Remove dead assignment to local variable. 7+ messages / 1 participants [nested] [flat]
* pgsql: Remove dead assignment to local variable. @ 2021-07-12 08:16 Heikki Linnakangas <heikki.linnakangas@iki.fi> 0 siblings, 0 replies; 7+ messages in thread From: Heikki Linnakangas @ 2021-07-12 08:16 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Remove dead assignment to local variable. This should have been removed in commit 7e30c186da, which split the loop into two. Only the first loop uses the 'from' variable; updating it in the second loop is bogus. It was never read after the first loop, so this was harmless and surely optimized away by the compiler, but let's be tidy. Backpatch to all supported versions. Author: Ranier Vilela Discussion: https://www.postgresql.org/message-id/CAEudQAoWq%2BAL3BnELHu7gms2GN07k-np6yLbukGaxJ1vY-zeiQ%40mail.g... Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/4c64b51dc51f8ff7e3e51eebfe8d10469a577df1 Modified Files -------------- src/backend/access/nbtree/nbtxlog.c | 1 - 1 file changed, 1 deletion(-) ^ permalink raw reply [nested|flat] 7+ messages in thread
* pgsql: Remove dead assignment to local variable. @ 2021-07-12 08:16 Heikki Linnakangas <heikki.linnakangas@iki.fi> 0 siblings, 0 replies; 7+ messages in thread From: Heikki Linnakangas @ 2021-07-12 08:16 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Remove dead assignment to local variable. This should have been removed in commit 7e30c186da, which split the loop into two. Only the first loop uses the 'from' variable; updating it in the second loop is bogus. It was never read after the first loop, so this was harmless and surely optimized away by the compiler, but let's be tidy. Backpatch to all supported versions. Author: Ranier Vilela Discussion: https://www.postgresql.org/message-id/CAEudQAoWq%2BAL3BnELHu7gms2GN07k-np6yLbukGaxJ1vY-zeiQ%40mail.g... Branch ------ REL_14_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/233280803cb6b3fe6b905abc1a28913855f40dd6 Modified Files -------------- src/backend/access/nbtree/nbtxlog.c | 1 - 1 file changed, 1 deletion(-) ^ permalink raw reply [nested|flat] 7+ messages in thread
* pgsql: Remove dead assignment to local variable. @ 2021-07-12 08:16 Heikki Linnakangas <heikki.linnakangas@iki.fi> 0 siblings, 0 replies; 7+ messages in thread From: Heikki Linnakangas @ 2021-07-12 08:16 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Remove dead assignment to local variable. This should have been removed in commit 7e30c186da, which split the loop into two. Only the first loop uses the 'from' variable; updating it in the second loop is bogus. It was never read after the first loop, so this was harmless and surely optimized away by the compiler, but let's be tidy. Backpatch to all supported versions. Author: Ranier Vilela Discussion: https://www.postgresql.org/message-id/CAEudQAoWq%2BAL3BnELHu7gms2GN07k-np6yLbukGaxJ1vY-zeiQ%40mail.g... Branch ------ REL_13_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/2c27cc26592a3f4f6ad1300d976073a256c57c9b Modified Files -------------- src/backend/access/nbtree/nbtxlog.c | 1 - 1 file changed, 1 deletion(-) ^ permalink raw reply [nested|flat] 7+ messages in thread
* pgsql: Remove dead assignment to local variable. @ 2021-07-12 08:16 Heikki Linnakangas <heikki.linnakangas@iki.fi> 0 siblings, 0 replies; 7+ messages in thread From: Heikki Linnakangas @ 2021-07-12 08:16 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Remove dead assignment to local variable. This should have been removed in commit 7e30c186da, which split the loop into two. Only the first loop uses the 'from' variable; updating it in the second loop is bogus. It was never read after the first loop, so this was harmless and surely optimized away by the compiler, but let's be tidy. Backpatch to all supported versions. Author: Ranier Vilela Discussion: https://www.postgresql.org/message-id/CAEudQAoWq%2BAL3BnELHu7gms2GN07k-np6yLbukGaxJ1vY-zeiQ%40mail.g... Branch ------ REL_12_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/4df5f6c26b2d5c89f1bc71eaee34e354974e8b97 Modified Files -------------- src/backend/access/nbtree/nbtxlog.c | 1 - 1 file changed, 1 deletion(-) ^ permalink raw reply [nested|flat] 7+ messages in thread
* pgsql: Remove dead assignment to local variable. @ 2021-07-12 08:16 Heikki Linnakangas <heikki.linnakangas@iki.fi> 0 siblings, 0 replies; 7+ messages in thread From: Heikki Linnakangas @ 2021-07-12 08:16 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Remove dead assignment to local variable. This should have been removed in commit 7e30c186da, which split the loop into two. Only the first loop uses the 'from' variable; updating it in the second loop is bogus. It was never read after the first loop, so this was harmless and surely optimized away by the compiler, but let's be tidy. Backpatch to all supported versions. Author: Ranier Vilela Discussion: https://www.postgresql.org/message-id/CAEudQAoWq%2BAL3BnELHu7gms2GN07k-np6yLbukGaxJ1vY-zeiQ%40mail.g... Branch ------ REL_11_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/f4b3ab537fe2657243c2f7aa02bf9d137b48a255 Modified Files -------------- src/backend/access/nbtree/nbtxlog.c | 1 - 1 file changed, 1 deletion(-) ^ permalink raw reply [nested|flat] 7+ messages in thread
* pgsql: Remove dead assignment to local variable. @ 2021-07-12 08:16 Heikki Linnakangas <heikki.linnakangas@iki.fi> 0 siblings, 0 replies; 7+ messages in thread From: Heikki Linnakangas @ 2021-07-12 08:16 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Remove dead assignment to local variable. This should have been removed in commit 7e30c186da, which split the loop into two. Only the first loop uses the 'from' variable; updating it in the second loop is bogus. It was never read after the first loop, so this was harmless and surely optimized away by the compiler, but let's be tidy. Backpatch to all supported versions. Author: Ranier Vilela Discussion: https://www.postgresql.org/message-id/CAEudQAoWq%2BAL3BnELHu7gms2GN07k-np6yLbukGaxJ1vY-zeiQ%40mail.g... Branch ------ REL_10_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/96c0890d4bb1ac82cc0316000214f50767019b0f Modified Files -------------- src/backend/access/nbtree/nbtxlog.c | 1 - 1 file changed, 1 deletion(-) ^ permalink raw reply [nested|flat] 7+ messages in thread
* pgsql: Remove dead assignment to local variable. @ 2021-07-12 08:16 Heikki Linnakangas <heikki.linnakangas@iki.fi> 0 siblings, 0 replies; 7+ messages in thread From: Heikki Linnakangas @ 2021-07-12 08:16 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Remove dead assignment to local variable. This should have been removed in commit 7e30c186da, which split the loop into two. Only the first loop uses the 'from' variable; updating it in the second loop is bogus. It was never read after the first loop, so this was harmless and surely optimized away by the compiler, but let's be tidy. Backpatch to all supported versions. Author: Ranier Vilela Discussion: https://www.postgresql.org/message-id/CAEudQAoWq%2BAL3BnELHu7gms2GN07k-np6yLbukGaxJ1vY-zeiQ%40mail.g... Branch ------ REL9_6_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/00e77ef76c5cf0e400db38127b01d20a8ba759e4 Modified Files -------------- src/backend/access/nbtree/nbtxlog.c | 1 - 1 file changed, 1 deletion(-) ^ permalink raw reply [nested|flat] 7+ messages in thread
end of thread, other threads:[~2021-07-12 08:16 UTC | newest] Thread overview: 7+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2021-07-12 08:16 pgsql: Remove dead assignment to local variable. Heikki Linnakangas <heikki.linnakangas@iki.fi> 2021-07-12 08:16 pgsql: Remove dead assignment to local variable. Heikki Linnakangas <heikki.linnakangas@iki.fi> 2021-07-12 08:16 pgsql: Remove dead assignment to local variable. Heikki Linnakangas <heikki.linnakangas@iki.fi> 2021-07-12 08:16 pgsql: Remove dead assignment to local variable. Heikki Linnakangas <heikki.linnakangas@iki.fi> 2021-07-12 08:16 pgsql: Remove dead assignment to local variable. Heikki Linnakangas <heikki.linnakangas@iki.fi> 2021-07-12 08:16 pgsql: Remove dead assignment to local variable. Heikki Linnakangas <heikki.linnakangas@iki.fi> 2021-07-12 08:16 pgsql: Remove dead assignment to local variable. Heikki Linnakangas <heikki.linnakangas@iki.fi>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox