summaryrefslogtreecommitdiffstats
path: root/pactest/tests/sync050.py
diff options
context:
space:
mode:
authorXavier Chantry <shiningxc@gmail.com>2009-12-05 23:45:34 +0100
committerDan McGee <dan@archlinux.org>2009-12-14 06:21:56 +0100
commitb8b8c78627b2f1791a2b46b0d6c87d7a9b90f376 (patch)
treebc1c7cbf1ce65fbf29a7e42af9d1711c9a12088f /pactest/tests/sync050.py
parent51f9e5e40a7b4c9a2a4bb61562a07946adc2bb2d (diff)
downloadpacman-b8b8c78627b2f1791a2b46b0d6c87d7a9b90f376.tar.gz
pacman-b8b8c78627b2f1791a2b46b0d6c87d7a9b90f376.tar.xz
add some more sanity check for optarg
getopt should already ensure that optarg is not NULL when an argument is required, but just be extra safe and double check it before using optarg. To be honest, I only did that to make clang shut up and eliminate the last warnings it reported. Signed-off-by: Xavier Chantry <shiningxc@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'pactest/tests/sync050.py')
0 files changed, 0 insertions, 0 deletions