diff options
author | Robert Haas <rhaas@postgresql.org> | 2013-12-02 10:51:06 -0500 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2013-12-02 10:51:06 -0500 |
commit | a8656a3ab02db5b1de0d696dc8cf588efe7c1341 (patch) | |
tree | 47d2bf72c28cb10b941c0ee8b7e5fbb5d903f851 /src/backend/access/gist/gistproc.c | |
parent | 9d140f7be2836e3baf6c9dc7989dea69ef693532 (diff) | |
download | postgresql-a8656a3ab02db5b1de0d696dc8cf588efe7c1341.tar.gz postgresql-a8656a3ab02db5b1de0d696dc8cf588efe7c1341.zip |
Make NUM_TOCHAR_prepare and NUM_TOCHAR_finish macros declare "len".
Remove the variable from the enclosing scopes so that nothing can be
relying on it. The net result of this refactoring is that we get rid
of a few unnecessary strlen() calls.
Original patch from Greg Jaskiewicz, substantially expanded by me.
Diffstat (limited to 'src/backend/access/gist/gistproc.c')
0 files changed, 0 insertions, 0 deletions