mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-10-05 17:57:08 +02:00
d89746c7c5
Kevin Gritter reports that his compiler complains about inq and outq being possibly-uninitialized at the point where they are passed to shm_mq_attach(). They are initialized by the call to setup_dynamic_shared_memory, but apparently his compiler is inlining that function and then having doubts about whether the for loop will always execute at least once. Fix by initializing them to NULL. |
||
---|---|---|
.. | ||
expected | ||
sql | ||
.gitignore | ||
Makefile | ||
setup.c | ||
test_shm_mq--1.0.sql | ||
test_shm_mq.control | ||
test_shm_mq.h | ||
test.c | ||
worker.c |