https://bugs.kde.org/show_bug.cgi?id=381326
Paul Floyd <pjfl...@wanadoo.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pjfl...@wanadoo.fr --- Comment #12 from Paul Floyd <pjfl...@wanadoo.fr> --- I'm loathe to cater to making Undefined Behaviour defined in any way. clang-tidy says it all /home/paulf/x.c:18:44: warning: Branch condition evaluates to a garbage value [clang-analyzer-core.uninitialized.Branch] 18 | for (z=p; n; n--, z++) if (*z) *z=0; | ^~ (browsers are likely to use variable with fonts, the caret is under the *z in the if statement). Who knows what compilers will do with this. Maybe ignore the 'if'. Maybe ignore the initialization. Also how can we be sure that the use of garbage is intentional? -- You are receiving this mail because: You are watching all bug changes.