aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/json.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2014-11-30 12:20:44 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2014-11-30 12:20:44 -0500
commit1adbb347ec6ca059168a1866357ca7a23d117272 (patch)
treebf7233716bc162f90afd5db81bcf63de89d54f49 /src/backend/utils/adt/json.c
parent22dfd116a127a2fc916a4fdac282ee69d4905a25 (diff)
downloadpostgresql-1adbb347ec6ca059168a1866357ca7a23d117272.tar.gz
postgresql-1adbb347ec6ca059168a1866357ca7a23d117272.zip
Fix minor bugs in commit 30bf4689a96cd283af33edcdd6b7210df3f20cd8 et al.
Coverity complained that the "else" added to fillPGconn() was unreachable, which it was. Remove the dead code. In passing, rearrange the tests so as not to bother trying to fetch values for options that can't be assigned. Pre-9.3 did not have that issue, but it did have a "return" that should be "goto oom_error" to ensure that a suitable error message gets filled in.
Diffstat (limited to 'src/backend/utils/adt/json.c')
0 files changed, 0 insertions, 0 deletions