Fix last remaining uninitialized memory warnings
authorPeter Eisentraut <peter@eisentraut.org>
Wed, 9 Aug 2023 08:00:50 +0000 (10:00 +0200)
committerPeter Eisentraut <peter@eisentraut.org>
Wed, 9 Aug 2023 08:00:50 +0000 (10:00 +0200)
commit4a8fef0d733965c1a1836022f8a42ab1e83a721f
treeb687033d5f273325a0da814b569c29d797b0eb67
parenta72d613b4c91462d9405c4e1b05c42d33013c333
Fix last remaining uninitialized memory warnings

gcc (version 13) fails to properly analyze the code due to the loop
stop condition including `l != NULL`. Let's just help it out.

Author: Tristan Partin <tristan@neon.tech>
Discussion: https://www.postgresql.org/message-id/flat/CT6HJ3U8068R.3A8SJMV02D9BC@gonk
src/bin/pgbench/pgbench.c
src/bin/pgbench/pgbench.h