danmar/cppcheck — comment on commit 433f4640a9639eefb3270ce51619055230605b17
File: cli/cppcheckexecutor.cpp line 110
By danmar:

That won't work well if ignored is empty.. but I assume your example was just for illustration.

I just think that the original code is more elegant.

If you can come up with some other code that is as elegant as the original code..