dez-dk/xbmc — comment on commit bf9a8244d2f8c174269e6f3c30342b53308be474
File: xbmc/XBDateTime.cpp line 1296
By jmarshallnz:

You have a "real" string instead of a potentially dangerous stricmp, so can use month.CompareNoCase() in the case of a CStdString.

In addition, I don't think we're likely to add months for a while, so iteratoring from i = 0; i < 12 is probably fine (simpler code)