calc.cpp: minor changes to remove compiler warnings

this change is bogus, {0} is the universal zero initializer according to C99 and old versions of GCC erroneously emitted a warning for it https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53119