aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistget.c
diff options
context:
space:
mode:
authorAndrew Dunstan <andrew@dunslane.net>2014-12-16 10:32:06 -0500
committerAndrew Dunstan <andrew@dunslane.net>2014-12-16 10:32:06 -0500
commitc8315930e6a34b616d9840985c85eb0d856dd2df (patch)
tree55cccd7d95a0dd1f2bc79ac79b1c8d648f2433d7 /src/backend/access/gist/gistget.c
parent4d65e16a6ff609701a8780d3cddbae02c6e20926 (diff)
downloadpostgresql-c8315930e6a34b616d9840985c85eb0d856dd2df.tar.gz
postgresql-c8315930e6a34b616d9840985c85eb0d856dd2df.zip
Fix some jsonb issues found by Coverity in recent commits.
Mostly these issues concern the non-use of function results. These have been changed to use (void) pushJsonbValue(...) instead of assigning the result to a variable that gets overwritten before it is used. There is a larger issue that we should possibly examine the API for pushJsonbValue(), so that instead of returning a value it modifies a state argument. The current idiom is rather clumsy. However, changing that requires quite a bit more work, so this change should do for the moment.
Diffstat (limited to 'src/backend/access/gist/gistget.c')
0 files changed, 0 insertions, 0 deletions