summaryrefslogtreecommitdiff
path: root/transport.c
diff options
context:
space:
mode:
authorLibravatar Derrick Stolee <dstolee@microsoft.com>2021-05-17 12:22:17 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-05-18 06:29:17 +0900
commit4279cb1c6e4e5b60b099833d8e3debba4ac35eba (patch)
treec1582acf1b70d54161133eaecdcfc06614325c25 /transport.c
parentname-hash: use expand_to_path() (diff)
downloadtgif-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 'transport.c')
0 files changed, 0 insertions, 0 deletions