Fixed fuckup with undeclared variable.

Signed-off-by: Stefan <stefan.virtanen@abo.fi>