geany/geany — comment on commit f31a84869d45980a7ecb27f5a4d6c3588c547eee
File: src/document.c line 2372
By codebrainz:

I slightly disagree with removing G_UNLIKELY() here (and above a little less), since it might optimize, even if slightly, and it also hints to other programmers that it's unlikely that the test will pass. It doesn't clutter the code either, IMO. If there's some chance that G_UNLIKELY will decrease performance, then I'd agree with removing it 100% though.