summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorXavier Chantry <chantry.xavier@gmail.com>2011-04-02 15:53:18 +0200
committerDan McGee <dan@archlinux.org>2011-04-02 19:37:17 +0200
commita46183783504e01a505222c47d1f7fccfeec70e9 (patch)
tree5b437722c63f94c00e8de71593318d3a622f9c0f /test
parent0e03c0849ddd799f60e6cf11084b8b62828cce89 (diff)
downloadpacman-a46183783504e01a505222c47d1f7fccfeec70e9.tar.gz
pacman-a46183783504e01a505222c47d1f7fccfeec70e9.tar.xz
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 'test')
0 files changed, 0 insertions, 0 deletions