diff options
author | Xavier Chantry <shiningxc@gmail.com> | 2009-12-05 23:45:34 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2009-12-13 23:21:56 -0600 |
commit | b8b8c78627b2f1791a2b46b0d6c87d7a9b90f376 (patch) | |
tree | bc1c7cbf1ce65fbf29a7e42af9d1711c9a12088f /AUTHORS | |
parent | 51f9e5e40a7b4c9a2a4bb61562a07946adc2bb2d (diff) | |
download | 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 'AUTHORS')
0 files changed, 0 insertions, 0 deletions