https://bugs.kde.org/show_bug.cgi?id=377617
--- Comment #3 from markus.enzenber...@gmail.com --- The danger that I see right now is that someone runs clazy on code they didn't write, simply follows the warning to replace left(1) by at(0) and thereby introduces a new, maybe subtle and rarely triggered bug. The optimal solution would be that clazy recognizes if a check for size 0 already exists in the code. But as a short-time fix, maybe the warning message could be improved to mention that left(1) can be replaced by at(0) if the string is not empty? -- You are receiving this mail because: You are watching all bug changes.