fix clang -Wuninitialized warning