]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Remove check for NULL in STRICT function
authorDaniel Gustafsson <dgustafsson@postgresql.org>
Thu, 2 Oct 2025 20:54:37 +0000 (22:54 +0200)
committerDaniel Gustafsson <dgustafsson@postgresql.org>
Thu, 2 Oct 2025 20:54:37 +0000 (22:54 +0200)
commit381f5cffae0040a402e082adc5d5e7636035d2a7
treef00c18ac7dcb3b54ec788090460c455549614675
parenta1b064e4b22686ecaecdf1cee0abfe53b81f6aaf
Remove check for NULL in STRICT function

test_bms_make_singleton is defined as STRICT and only takes a single
parameter, so there is no need to check that parameter for NULL as a
NULL input won't ever reach there.

Author: Daniel Gustafsson <daniel@yesql.se>
Discussion: https://postgr.es/m/BC483901-9587-4076-B20F-9A414C66AB78@yesql.se
src/test/modules/test_bitmapset/test_bitmapset.c