doc: fixed typo
fixed clang warning of uninitialized variable