diff options
author | Robert Haas <rhaas@postgresql.org> | 2014-01-15 10:24:28 -0500 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2014-01-15 10:24:28 -0500 |
commit | d89746c7c534ef5b061fee0b8f587042f55bd92d (patch) | |
tree | a105e28736b4c7c7b00be0b2d5b3700c21a8b38b /src/tutorial/funcs_new.c | |
parent | be361ef2a0b58ce1f3faff7ccabe174e20d50497 (diff) |
Fix compiler warning.
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.
Diffstat (limited to 'src/tutorial/funcs_new.c')
0 files changed, 0 insertions, 0 deletions