Re: [PATCH 07/17] kern/rdxtree: Fix undefined behavior

2024-03-27 Thread Samuel Thibault
Applied, thanks! Sergey Bugaev, le mer. 27 mars 2024 19:18:31 +0300, a ecrit: > Initializing a variable with itself is undefined, and GCC 14 rightfully > produces a warning about the variable being used (to initialize itself) > prior to initialization. X15 sets the variables to 0 instead, so do th

[PATCH 07/17] kern/rdxtree: Fix undefined behavior

2024-03-27 Thread Sergey Bugaev
Initializing a variable with itself is undefined, and GCC 14 rightfully produces a warning about the variable being used (to initialize itself) prior to initialization. X15 sets the variables to 0 instead, so do the same in Mach. --- kern/rdxtree.c | 4 ++-- 1 file changed, 2 insertions(+), 2 dele