diff options
author | Xavier Chantry <chantry.xavier@gmail.com> | 2011-04-02 15:53:18 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-04-02 12:37:17 -0500 |
commit | a46183783504e01a505222c47d1f7fccfeec70e9 (patch) | |
tree | 5b437722c63f94c00e8de71593318d3a622f9c0f /lib/libalpm/alpm_list.c | |
parent | 0e03c0849ddd799f60e6cf11084b8b62828cce89 (diff) |
dload: dont forget to initialize open_mode
That's a funny one, building with optimization levels (with both gcc and
clang) caused open_mode to always be set to "ab", which worked.
This was spotted both with clang-analyzer, and by Jakob who reported a
segfault as he was using an un-optimized build.
Signed-off-by: Xavier Chantry <chantry.xavier@gmail.com>
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/alpm_list.c')
0 files changed, 0 insertions, 0 deletions