AP_HAL: fixed build warnings

This commit is contained in:
Andrew Tridgell 2015-05-30 22:51:09 +10:00
parent 084521243e
commit ac3fc2f373

View File

@ -43,15 +43,15 @@
constructor
*/
GetOptLong::GetOptLong(int _argc, char *const _argv[], const char *_optstring, const GetOptLong::option * _longopts) :
argc(_argc),
argv(_argv),
optstring(_optstring),
longopts(_longopts),
opterr(0),
optind(1),
optopt(0),
longindex(-1),
optarg(NULL),
argc(_argc),
argv(_argv),
optstring(_optstring),
longopts(_longopts),
place("")
{}