https://github.com/postgres/postgres
Revision 8cb9d01829825e55c5637db40f5cd0690111cf09 authored by Joe Conway on 02 January 2017, 22:12:17 UTC, committed by Joe Conway on 02 January 2017, 22:12:17 UTC
In GetCachedPlan(), initialize 'plan' to silence a compiler warning, but
also add an Assert() to make sure we don't ever actually fall through
with 'plan' still being set to NULL, since we are about to dereference
it.

Back-patch back to 9.2.

Author: Stephen Frost
Discussion: https://postgr.es/m/20161129152102.GR13284%40tamriel.snowman.net
1 parent f832a1e
History
Tip revision: 8cb9d01829825e55c5637db40f5cd0690111cf09 authored by Joe Conway on 02 January 2017, 22:12:17 UTC
Silence compiler warnings
Tip revision: 8cb9d01
File Mode Size
config
contrib
doc
src
.dir-locals.el -rw-r--r-- 700 bytes
.gitattributes -rw-r--r-- 1.7 KB
.gitignore -rw-r--r-- 394 bytes
COPYRIGHT -rw-r--r-- 1.2 KB
GNUmakefile.in -rw-r--r-- 3.5 KB
HISTORY -rw-r--r-- 283 bytes
Makefile -rw-r--r-- 1.5 KB
README -rw-r--r-- 1.2 KB
README.git -rw-r--r-- 727 bytes
aclocal.m4 -rw-r--r-- 385 bytes
configure -rwxr-xr-x 438.1 KB
configure.in -rw-r--r-- 67.5 KB

README

back to top