mapfishapp - fix declaration and initialization of c variable