Fix last remaining uninitialized memory warnings

Peter Eisentraut <peter@eisentraut.org>

Commit: 4a8fef0d733965c1a1836022f8a42ab1e83a721f
Author: Peter Eisentraut <peter@eisentraut.org>
Date: 2023-08-09T08:00:50Z
Releases: 17.0
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

Files

PathChange+/−
src/bin/pgbench/pgbench.c modified +1 −1
src/bin/pgbench/pgbench.h modified +1 −1

Discussion