On Mon, 2015-11-30 at 12:50 -0300, Claudio Freire wrote: > Also I don't see how a static var would help or even be correct here. > Perhaps you meant something else? static uint8_t cond1 = param1 && param2; static uint8_t cond2 = param3 && !param4; ...etc return cond1 && cond2;