summaryrefslogtreecommitdiff
path: root/t/t5600-clone-fail-cleanup.sh
diff options
context:
space:
mode:
authorLibravatar Ævar Arnfjörð Bjarmason <avarab@gmail.com>2011-12-21 01:18:19 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2011-12-21 10:19:04 -0800
commitd7a10c3140de593abe25d55bbdba43373079e82e (patch)
tree3192f7d1cd63d0cf1df8c28831119c62fe7efbd5 /t/t5600-clone-fail-cleanup.sh
parentMerge branch 'maint' (diff)
downloadtgif-d7a10c3140de593abe25d55bbdba43373079e82e.tar.xz
Fix an enum assignment issue spotted by Sun Studio
In builtin/fast-export.c we'd assign to variables of the tag_of_filtered_mode enum type with constants defined for the signed_tag_mode enum. We'd get the intended value since both the value we were assigning with and the one we actually wanted had the same positional within their respective enums, but doing it this way makes no sense. This issue was spotted by Sun Studio 12 Update 1: "builtin/fast-export.c", line 54: warning: enum type mismatch: op "=" (E_ENUM_TYPE_MISMATCH_OP) Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5600-clone-fail-cleanup.sh')
0 files changed, 0 insertions, 0 deletions