Commit 948e4b3
committed
pack-redundant: avoid accessing uninitialized variables
The `l` variable holds a list of packs, but its `next` attribute seems
not to be initialized before inserting into the list. Let's ensure that
`l` is initialized properly.
Pointed out by Coverity.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>1 parent d6b90c7 commit 948e4b3
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
536 | 536 | | |
537 | 537 | | |
538 | 538 | | |
539 | | - | |
| 539 | + | |
540 | 540 | | |
541 | 541 | | |
542 | 542 | | |
| |||
0 commit comments