pgsql: Remove check for NULL in STRICT function

Started by Daniel Gustafssonabout 1 year ago1 messagescommitters
Jump to latest
#1Daniel Gustafsson
dgustafsson@postgresql.org

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: /messages/by-id/BC483901-9587-4076-B20F-9A414C66AB78@yesql.se

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/381f5cffae0040a402e082adc5d5e7636035d2a7

Modified Files
--------------
src/test/modules/test_bitmapset/test_bitmapset.c | 3 ---
1 file changed, 3 deletions(-)