The code would only use 'type' uninitialized in error conditions, but it's still better to avoid that. caught by clang