News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

CamelCase variable problem

Started by Wkerry, December 31, 2024, 04:12:35 AM

Previous topic - Next topic

ollydbg

If the variable does not match, why the compiler hasn't report this?

Maybe, the # if branch is not active in your reported case?
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

Wkerry

I just spotted this by accident (open the file by mistake and spotted it) as the variable does not match the variable in the #if code block.

Miguel Gimenez


Wkerry

Thanks for taking the time to sort this out.