diff options
| author | Patrick Steinhardt <ps@pks.im> | 2017-03-20 09:34:59 +0100 |
|---|---|---|
| committer | Patrick Steinhardt <ps@pks.im> | 2017-03-21 15:48:15 +0100 |
| commit | 8d452448bb1d5da09966faad65bc5aa96ba3696c (patch) | |
| tree | f6e385842ddc4dccde63102752b8f3a099900aa2 /src/patch_parse.c | |
| parent | 2cf48e13262921c2c6e38668c1ea54d93c2117c8 (diff) | |
| download | libgit2-8d452448bb1d5da09966faad65bc5aa96ba3696c.tar.gz | |
odb_pack: initialize `git_rawobj` structure
The `pack_entry_find_prefix` function receives a `git_rawobj` structure
as argument. While the function first initializes the structure to a
sensible state, Coverity is unable to correctly detect this, resulting
in a warning.
Fix this warning by initializing the object to all-zeroes before passing
it to the function.
Diffstat (limited to 'src/patch_parse.c')
0 files changed, 0 insertions, 0 deletions
