diff options
author | Derrick Stolee <dstolee@microsoft.com> | 2021-05-17 12:22:17 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-05-18 06:29:17 +0900 |
commit | 4279cb1c6e4e5b60b099833d8e3debba4ac35eba (patch) | |
tree | c1582acf1b70d54161133eaecdcfc06614325c25 /contrib/emacs | |
parent | name-hash: use expand_to_path() (diff) | |
download | tgif-4279cb1c6e4e5b60b099833d8e3debba4ac35eba.tar.xz |
sparse-index: fix uninitialized jump
While testing the sparse-index, I verified a test with --valgrind and it
complained about an uninitialized value being used in a jump in the
path_matches_pattern_list() method. The line was this one:
if (*dtype == DT_UNKNOWN)
In the call stack, the culprit was the initialization of the dtype
variable in convert_to_sparse_rec().
Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/emacs')
0 files changed, 0 insertions, 0 deletions