Fix wrong usage of volatile declaration.
authorTatsuo Ishii <ishii@sraoss.co.jp>
Sat, 30 Mar 2019 01:33:58 +0000 (10:33 +0900)
committerTatsuo Ishii <ishii@sraoss.co.jp>
Sat, 30 Mar 2019 01:33:58 +0000 (10:33 +0900)
commit54bf03e83e550ea1b31728690d48e057b5cae11e
tree16260b483f86b17bcba7b65b2cec51ba9b695279
parent803395835a4401a501e37df4f81b8be2563dcd8b
Fix wrong usage of volatile declaration.

From a PostgreSQL commit message:
     Variables used after a longjmp() need to be declared volatile.  In
     case of a pointer, it's the pointer itself that needs to be declared
     volatile, not the pointed-to value.

Same thing can be said to:
     volatile StartupPacket *sp;

This should have been:
     StartupPacket *volatile sp;

This also suppresses a compiler warning.
src/protocol/child.c