mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-18 06:38:29 -04:00
AP_Scripting: Changed NULL to nullptr
This commit is contained in:
parent
f0c3d5129c
commit
c65425e3ac
@ -73,7 +73,7 @@ void lua_scripts::set_and_print_new_error_message(MAV_SEVERITY severity, const c
|
||||
va_copy(arg_list_copy, arg_list);
|
||||
|
||||
// dry run to work out the required length
|
||||
int len = hal.util->vsnprintf(NULL, 0, fmt, arg_list_copy);
|
||||
int len = hal.util->vsnprintf(nullptr, 0, fmt, arg_list_copy);
|
||||
|
||||
// finished with copy
|
||||
va_end(arg_list_copy);
|
||||
|
Loading…
Reference in New Issue
Block a user