[pacman-dev] [PATCH 2/2] Fix some errors that cppcheck gave back