postgresql/contrib/intarray
Peter Eisentraut 258f48f858 Change some unnecessary MemSet calls
MemSet() with a value other than 0 just falls back to memset(), so the
indirection is unnecessary if the value is constant and not 0.  Since
there is some interest in getting rid of MemSet(), this gets some easy
cases out of the way.  (There are a few MemSet() calls that I didn't
change to maintain the consistency with their surrounding code.)

Discussion: https://www.postgresql.org/message-id/flat/CAEudQApCeq4JjW1BdnwU=m=-DvG5WyUik0Yfn3p6UNphiHjj+w@mail.gmail.com
2022-07-01 00:16:38 +02:00
..
bench Update copyright for 2022 2022-01-07 19:04:57 -05:00
data
expected
sql
_int_bool.c Remove extraneous blank lines before block-closing braces 2022-04-13 19:16:02 +02:00
_int_gin.c
_int_gist.c
_int_op.c
_int_selfuncs.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
_int_tool.c Clean up some code using "(expr) ? true : false" 2021-09-08 09:44:04 +09:00
_int.h
_intbig_gist.c Change some unnecessary MemSet calls 2022-07-01 00:16:38 +02:00
.gitignore
intarray--1.0--1.1.sql
intarray--1.1--1.2.sql Make contrib modules' installation scripts more secure. 2020-08-10 10:44:42 -04:00
intarray--1.2--1.3.sql
intarray--1.2.sql
intarray--1.3--1.4.sql
intarray--1.4--1.5.sql Remove deprecated containment operators for contrib types. 2021-03-05 10:45:41 -05:00
intarray.control Remove deprecated containment operators for contrib types. 2021-03-05 10:45:41 -05:00
Makefile Remove deprecated containment operators for contrib types. 2021-03-05 10:45:41 -05:00