Fix clang and coverity warnings
Libary: Fixed gcc warning -Wmissing-field-initializers