mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-04-12 04:02:20 +02:00
LP-251 Fix incorrect null check
This commit is contained in:
parent
8e63d4e618
commit
371b658afc
@ -605,7 +605,7 @@ bool UAVObjectGeneratorGCS::generate(UAVObjectParser *parser, QString templatepa
|
|||||||
*/
|
*/
|
||||||
bool UAVObjectGeneratorGCS::process_object(ObjectInfo *object)
|
bool UAVObjectGeneratorGCS::process_object(ObjectInfo *object)
|
||||||
{
|
{
|
||||||
if (info == NULL) {
|
if (object == NULL) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user