Content-Length: 259063 | pFad | http://github.com/postgrespro/postgres/commit/8d51d7f403c209ab4d5db203f5e350f6c71233ca

51 Use C99 designator in the rbtree sentinel definition · postgrespro/postgres@8d51d7f · GitHub
Skip to content

Commit 8d51d7f

Browse files
committed
Use C99 designator in the rbtree sentinel definition
This change should improve the code readability. Discussion: https://postgr.es/m/CAGRrpzYE8-7GCoaPjOiL9T_HY605MRax-2jgTtLq236uksZ1Sw%40mail.gmail.com Author: Steve Chavez, Alexander Korotkov Reviewed-by: Alexander Korotkov
1 parent d498e05 commit 8d51d7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/lib/rbtree.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ struct RBTree
6262

6363
static RBTNode sentinel =
6464
{
65-
RBTBLACK, RBTNIL, RBTNIL, NULL
65+
.color = RBTBLACK,.left = RBTNIL,.right = RBTNIL,.parent = NULL
6666
};
6767

6868

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/8d51d7f403c209ab4d5db203f5e350f6c71233ca

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy