]> git.proxmox.com Git - libgit2.git/commit
Fix false positive -Wuninitialized warnings
authorKirill A. Shutemov <kirill@shutemov.name>
Wed, 24 Aug 2011 17:10:50 +0000 (20:10 +0300)
committerKirill A. Shutemov <kirill@shutemov.name>
Wed, 24 Aug 2011 17:10:50 +0000 (20:10 +0300)
commitd7f0ababe1882c8351093231d986de26f9df670d
treef1086f79645e94933b8c3fa16b10ff6d6f1203ce
parenta7e34e3c854aaed77ede8558ff253716bc4c80a2
Fix false positive -Wuninitialized warnings

GCC produces several -Wuninitialized warnings. Most of them can be fixed
if we make visible for gcc that git__throw() and git__rethrow() always
return first argument.

Signed-off-by: Kirill A. Shutemov <kirill@shutemov.name>
src/common.h
src/errors.c