git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 2d756eb) | patch
Silence compiler warnings on clang 21
2025年9月12日 05:27:48 +0000 (07:27 +0200)
2025年9月12日 05:28:32 +0000 (07:28 +0200)
commit e92677e86333562b8dd4972083c8a1abf985d90d
Silence compiler warnings on clang 21

Clang 21 shows some new compiler warnings, for example:

warning: variable 'dstsize' is uninitialized when passed as a const pointer argument here [-Wuninitialized-const-pointer]

The fix is to initialize the variables when they are defined. This is
similar to, for example, the existing situation in gistKeyIsEQ().

Discussion: https://www.postgresql.org/message-id/flat/6604ad6e-5934-43ac-8590-15113d6ae4b1%40eisentraut.org
src/backend/access/common/toast_internals.c diff | blob | blame | history
src/backend/access/gist/gistutil.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /