Quote:
Originally Posted by Bugsy
I don't think static is necessary here, it's a single cell in a function that likely will not be hammered with usage. I would change it to a const, though.
|
Yeah, while writing that post I was thinking if static is necessary. I think that const on local variables implies static. Anyway, single cell const should make better code than a variable.