app: fix variable typo.

Small bug in commit 0bdb747. A variable was initialized twice and
another none. That's for peer programming. :-)