summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/sync.c
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2012-03-20 14:02:56 +0100
committerDan McGee <dan@archlinux.org>2012-04-07 17:13:37 +0200
commit969dcddbdf9d5dbd91aa414cdd193f3fb26b644b (patch)
tree6d4cf6e2c2d8b2af12d86643a2cce04211b803c3 /lib/libalpm/sync.c
parent72ba4fb83ff99031f58169beeb1daa80ffd8cdb4 (diff)
downloadpacman-969dcddbdf9d5dbd91aa414cdd193f3fb26b644b.tar.gz
pacman-969dcddbdf9d5dbd91aa414cdd193f3fb26b644b.tar.xz
parse_options: initialize unused_options as array
Since we treat this as an array, we need to initialize it as one. This avoids addition of an empty element to the option string when we set the option array from the calling program, e.g. +/usr/bin/makepkg[2033]: set -- -i --pkg vim -- '' Signed-off-by: Dave Reisner <dreisner@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/sync.c')
0 files changed, 0 insertions, 0 deletions