libgit2/src
Russell Belfer 56543a609a Clear up warnings from cppcheck
The cppcheck static analyzer generates warnings for a bunch of
places in the libgit2 code base.  All the ones fixed in this
commit are actually false positives, but I've reorganized the
code to hopefully make it easier for static analysis tools to
correctly understand the structure.  I wouldn't do this if I
felt like it was making the code harder to read or worse for
humans, but in this case, these fixes don't seem too bad and will
hopefully make it easier for better analysis tools to get at any
real issues.
2013-02-15 16:02:45 -08:00
..
amiga Added missing curly brackets and fixed compiler warnings. 2013-01-10 09:16:14 +01:00
hash update copyrights 2013-01-08 17:31:27 -06:00
transports Clear up warnings from cppcheck 2013-02-15 16:02:45 -08:00
unix Fix p_realpath on OpenBSD 2013-01-29 18:46:17 +01:00
win32 Change git2.rc to identify git.dll as VOS_NT_WINDOWS32 2013-02-13 18:12:51 -05:00
xdiff Merge branch 'new-error-handling' into development 2012-05-02 15:59:02 -07:00
attr_file.c Vector improvements and their fallout 2013-01-27 14:17:07 -05:00
attr_file.h update copyrights 2013-01-08 17:31:27 -06:00
attr.c Vector improvements and their fallout 2013-01-27 14:17:07 -05:00
attr.h update copyrights 2013-01-08 17:31:27 -06:00
blob.c update copyrights 2013-01-08 17:31:27 -06:00
blob.h update copyrights 2013-01-08 17:31:27 -06:00
branch.c Merge pull request #1190 from nulltoken/topic/reset-paths 2013-02-11 11:44:00 -08:00
branch.h branch: Introduce git_branch_tracking_name() 2013-01-16 22:56:13 +01:00
bswap.h update copyrights 2013-01-08 17:31:27 -06:00
buf_text.c buf: Is this the function you were looking for? 2013-01-12 01:40:35 +01:00
buf_text.h Match binary file check of core git in diff 2013-01-11 11:24:26 -08:00
buffer.c update copyrights 2013-01-08 17:31:27 -06:00
buffer.h Add helper for diff line stats 2013-01-30 11:10:39 -08:00
cache.c update copyrights 2013-01-08 17:31:27 -06:00
cache.h update copyrights 2013-01-08 17:31:27 -06:00
cc-compat.h Fix gen_pktline format specifier for Win32 2013-01-22 09:25:15 -05:00
checkout.c Clear up warnings from cppcheck 2013-02-15 16:02:45 -08:00
checkout.h update copyrights 2013-01-08 17:31:27 -06:00
clone.c Merge pull request #1316 from ben/clone-cancel 2013-02-12 10:13:56 -08:00
commit_list.c update copyrights 2013-01-08 17:31:27 -06:00
commit_list.h update copyrights 2013-01-08 17:31:27 -06:00
commit.c Vector improvements and their fallout 2013-01-27 14:17:07 -05:00
commit.h update copyrights 2013-01-08 17:31:27 -06:00
common.h Deduplicate FormatMessage UTF-16 to UTF-8 conversion code 2013-02-02 00:55:32 +01:00
compress.c update copyrights 2013-01-08 17:31:27 -06:00
compress.h update copyrights 2013-01-08 17:31:27 -06:00
config_cache.c update copyrights 2013-01-08 17:31:27 -06:00
config_file.c Implement config key validation rules 2013-01-29 12:15:18 -08:00
config_file.h Implement config key validation rules 2013-01-29 12:15:18 -08:00
config.c Implement config key validation rules 2013-01-29 12:15:18 -08:00
config.h update copyrights 2013-01-08 17:31:27 -06:00
crlf.c update copyrights 2013-01-08 17:31:27 -06:00
date.c Remove use of English expletives 2012-11-23 13:31:22 +00:00
delta-apply.c update copyrights 2013-01-08 17:31:27 -06:00
delta-apply.h update copyrights 2013-01-08 17:31:27 -06:00
delta.c update copyrights 2013-01-08 17:31:27 -06:00
delta.h Fix warnings on Win64 build 2012-11-27 13:18:29 -08:00
diff_output.c Clear up warnings from cppcheck 2013-02-15 16:02:45 -08:00
diff_output.h Fix MSVC compilation warnings 2013-02-05 20:33:27 +01:00
diff_tform.c Vector improvements and their fallout 2013-01-27 14:17:07 -05:00
diff.c diff: add a notify callback to git_diff__from_iterators 2013-02-07 20:44:35 +01:00
diff.h update copyrights 2013-01-08 17:31:27 -06:00
errors.c Deduplicate FormatMessage UTF-16 to UTF-8 conversion code 2013-02-02 00:55:32 +01:00
fetch.c update copyrights 2013-01-08 17:31:27 -06:00
fetch.h update copyrights 2013-01-08 17:31:27 -06:00
fetchhead.c update copyrights 2013-01-08 17:31:27 -06:00
fetchhead.h update copyrights 2013-01-08 17:31:27 -06:00
filebuf.c update copyrights 2013-01-08 17:31:27 -06:00
filebuf.h update copyrights 2013-01-08 17:31:27 -06:00
fileops.c Try harder to find global config file 2013-02-01 14:23:26 -05:00
fileops.h update copyrights 2013-01-08 17:31:27 -06:00
filter.c update copyrights 2013-01-08 17:31:27 -06:00
filter.h update copyrights 2013-01-08 17:31:27 -06:00
fnmatch.c update copyrights 2013-01-08 17:31:27 -06:00
fnmatch.h update copyrights 2013-01-08 17:31:27 -06:00
global.c update copyrights 2013-01-08 17:31:27 -06:00
global.h update copyrights 2013-01-08 17:31:27 -06:00
graph.c update copyrights 2013-01-08 17:31:27 -06:00
hash.c update copyrights 2013-01-08 17:31:27 -06:00
hash.h update copyrights 2013-01-08 17:31:27 -06:00
ignore.c Set up default internal ignores 2012-11-19 16:33:30 -08:00
ignore.h update copyrights 2013-01-08 17:31:27 -06:00
index.c Merge pull request #1190 from nulltoken/topic/reset-paths 2013-02-11 11:44:00 -08:00
index.h update copyrights 2013-01-08 17:31:27 -06:00
indexer.c Fix a git_filebuf leak (fixes Win32 clone::can_cancel) 2013-02-14 08:46:58 -05:00
iterator.c Vector improvements and their fallout 2013-01-27 14:17:07 -05:00
iterator.h Support case insensitive tree iterators and status 2013-01-15 09:51:35 -08:00
khash.h Isolate khash inlines from global namespace 2012-07-12 11:49:15 -07:00
map.h update copyrights 2013-01-08 17:31:27 -06:00
merge.c update copyrights 2013-01-08 17:31:27 -06:00
merge.h update copyrights 2013-01-08 17:31:27 -06:00
message.c update copyrights 2013-01-08 17:31:27 -06:00
message.h update copyrights 2013-01-08 17:31:27 -06:00
mwindow.c Global options setter 2013-01-23 02:58:58 +01:00
mwindow.h update copyrights 2013-01-08 17:31:27 -06:00
netops.c Merge pull request #1298 from ben/user-at 2013-02-04 14:49:28 -08:00
netops.h Enhance url parsing to include passwords 2013-01-31 14:04:21 -08:00
notes.c Clear up warnings from cppcheck 2013-02-15 16:02:45 -08:00
notes.h update copyrights 2013-01-08 17:31:27 -06:00
object.c update copyrights 2013-01-08 17:31:27 -06:00
object.h update copyrights 2013-01-08 17:31:27 -06:00
odb_loose.c update copyrights 2013-01-08 17:31:27 -06:00
odb_pack.c indexer: properly free the packfile resources 2013-01-12 18:44:58 +01:00
odb.c odb: Refresh on exists query too 2013-01-10 15:43:08 +01:00
odb.h update copyrights 2013-01-08 17:31:27 -06:00
offmap.h pack: introduce a delta base cache 2013-01-11 16:55:37 +01:00
oid.c update copyrights 2013-01-08 17:31:27 -06:00
oidmap.h update copyrights 2013-01-08 17:31:27 -06:00
pack-objects.c Add git_push_options, to set packbuilder parallelism 2013-02-11 09:35:26 -05:00
pack-objects.h update copyrights 2013-01-08 17:31:27 -06:00
pack.c Vector improvements and their fallout 2013-01-27 14:17:07 -05:00
pack.h indexer: properly free the packfile resources 2013-01-12 18:44:58 +01:00
path.c Fix some incorrect MSVC #ifdef's. Fixes #1305 2013-02-11 09:25:57 -05:00
path.h Add git_path_icmp to case-insensitive path cmp 2013-01-15 09:51:35 -08:00
pathspec.c Return the matched pathspec pattern in git_pathspec_match_path 2013-02-07 20:44:34 +01:00
pathspec.h Return the matched pathspec pattern in git_pathspec_match_path 2013-02-07 20:44:34 +01:00
pool.c Fix bug with merging diffs with null options 2012-07-19 10:23:45 -07:00
pool.h update copyrights 2013-01-08 17:31:27 -06:00
posix.c Fix memory leak in p_getaddrinfo on Amiga 2013-02-15 16:01:31 -08:00
posix.h update copyrights 2013-01-08 17:31:27 -06:00
pqueue.c update copyrights 2013-01-08 17:31:27 -06:00
pqueue.h update copyrights 2013-01-08 17:31:27 -06:00
push.c Add git_push_options, to set packbuilder parallelism 2013-02-11 09:35:26 -05:00
push.h Add git_push_options, to set packbuilder parallelism 2013-02-11 09:35:26 -05:00
reflog.c update copyrights 2013-01-08 17:31:27 -06:00
reflog.h update copyrights 2013-01-08 17:31:27 -06:00
refs.c Clear up warnings from cppcheck 2013-02-15 16:02:45 -08:00
refs.h branch: Introduce git_branch_tracking_name() 2013-01-16 22:56:13 +01:00
refspec.c Teach refspec to transform destination reference to source reference 2013-02-11 11:36:28 -05:00
refspec.h update copyrights 2013-01-08 17:31:27 -06:00
remote.c remote: Introduce git_remote_is_valid_name() 2013-02-11 23:19:41 +01:00
remote.h update copyrights 2013-01-08 17:31:27 -06:00
repo_template.h update copyrights 2013-01-08 17:31:27 -06:00
repository.c Do not use GIT_CPDIR_CHMOD flag when copying the template. 2013-01-13 11:35:08 +01:00
repository.h update copyrights 2013-01-08 17:31:27 -06:00
reset.c reset: Introduce git_reset_default() 2013-02-05 20:33:03 +01:00
revparse.c revparse: Lookup sha before branch 2013-02-03 11:44:26 +01:00
revwalk.c update copyrights 2013-01-08 17:31:27 -06:00
revwalk.h update copyrights 2013-01-08 17:31:27 -06:00
sha1_lookup.c update copyrights 2013-01-08 17:31:27 -06:00
sha1_lookup.h update copyrights 2013-01-08 17:31:27 -06:00
signature.c Parse commit time as uint64_t to avoid overflow 2013-01-21 13:19:41 -08:00
signature.h update copyrights 2013-01-08 17:31:27 -06:00
stash.c Vector improvements and their fallout 2013-01-27 14:17:07 -05:00
status.c Support case insensitive tree iterators and status 2013-01-15 09:51:35 -08:00
strmap.h update copyrights 2013-01-08 17:31:27 -06:00
submodule.c Vector improvements and their fallout 2013-01-27 14:17:07 -05:00
submodule.h update copyrights 2013-01-08 17:31:27 -06:00
tag.c update copyrights 2013-01-08 17:31:27 -06:00
tag.h update copyrights 2013-01-08 17:31:27 -06:00
thread-utils.c update copyrights 2013-01-08 17:31:27 -06:00
thread-utils.h update copyrights 2013-01-08 17:31:27 -06:00
transport.c update copyrights 2013-01-08 17:31:27 -06:00
tree-cache.c update copyrights 2013-01-08 17:31:27 -06:00
tree-cache.h update copyrights 2013-01-08 17:31:27 -06:00
tree.c Fix MSVC compilation warnings 2013-02-05 20:33:27 +01:00
tree.h Add git_tree_entry_cmp and git_tree_entry_icmp 2013-01-15 09:51:35 -08:00
tsort.c Add payload "_r" versions of bsearch and tsort 2013-01-15 09:51:35 -08:00
util.c Vector improvements and their fallout 2013-01-27 14:17:07 -05:00
util.h Use malloc rather than calloc 2013-02-01 19:21:55 -08:00
vector.c Now with no multiply 2013-01-29 16:49:12 -05:00
vector.h Merge the push report into the refs to avoid a 3rd network call 2013-02-08 15:21:37 -05:00