Notes |
|
(0006323)
|
Dusk
|
2013-05-06 23:15
|
|
should use currentSection.Compare ("None") != 0 |
|
|
|
How can the author get it right for 'sc' and not for 'currentSection'? |
|
|
|
Just lot of assumptions without checking actual variable types, also VS2005 didn't complain about string comparison.
First, 'sc' is of type FScanner, while 'currentSection' is FString. I used sc.Compare() because I assumed that it uses some different way to compare strings (probably stricmp or something like that). And I used != operator because I assumed FString implements it and again, VS2005 DID NOT COMPLAIN. |
|
|
|
Did anybody test of the code still works when the check is done properly? |
|
|
|
Should be okay. I did not find any problems with that change. |
|
|
|
Does MSVC complain when it's warning settings are cranked up to max? (out of curiosity)
|
|
|
(0013409)
|
Dusk
|
2015-09-05 02:22
|
|
This one ceased to exist when PWO was rewritten. |
|