android: fix 'err' uninitialized warning