]> granicus.if.org Git - postgresql/commit
Silence compiler warning in assertion-enabled builds.
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Tue, 2 Jul 2013 14:23:42 +0000 (17:23 +0300)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Tue, 2 Jul 2013 14:51:32 +0000 (17:51 +0300)
commitae8fc624066398b8a14a97c5f950ddc844657d24
treed62b2cf143a35e5c4e3aa346d130ba5356ff1fc7
parent4d6ae6aaec5744f734735b9ab8acf29a4e97f151
Silence compiler warning in assertion-enabled builds.

With -Wtype-limits, gcc correctly points out that size_t can never be < 0.
Backpatch to 9.3 and 9.2. It's been like this forever, but in <= 9.1 you got
a lot other warnings with -Wtype-limits anyway (at least with my version of
gcc).

Andres Freund
src/pl/plpython/plpy_procedure.c