postgresql/contrib/ltree
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
..
data
expected
sql
_ltree_gist.c Change some unnecessary MemSet calls 2022-07-01 00:16:38 +02:00
_ltree_op.c
.gitignore
crc32.c
crc32.h
lquery_op.c
ltree_gist.c Fix default signature length for gist_ltree_ops 2022-03-16 11:41:18 +03:00
ltree_io.c
ltree_op.c Clean up more code using "(expr) ? true : false" 2021-10-11 09:36:42 +09:00
ltree--1.0--1.1.sql
ltree--1.1--1.2.sql
ltree--1.1.sql
ltree.control
ltree.h Fix various typos and spelling mistakes in code comments 2022-04-11 20:49:41 +12:00
ltreetest.sql
ltxtquery_io.c Remove extraneous blank lines before block-closing braces 2022-04-13 19:16:02 +02:00
ltxtquery_op.c
Makefile