mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-22 00:28:30 -04:00
AP_Scripting: build fix for macOS
This commit is contained in:
parent
36869f668b
commit
e9b939ccb5
@ -673,7 +673,7 @@ void handle_operator(struct userdata *data) {
|
||||
error(ERROR_USERDATA, "Needed a symbol for the operator");
|
||||
}
|
||||
|
||||
enum operator_type operation;
|
||||
enum operator_type operation = OP_ADD;
|
||||
if (strcmp(operator, "+") == 0) {
|
||||
operation = OP_ADD;
|
||||
} else if (strcmp(operator, "-") == 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user