Initialized variables to avoid warnings.

There were already comprobations to avoid using the variables without
setting them before.
Merge pull request #5 from jmmut/next

Initialized variables to avoid warnings.