mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-12-01 09:24:10 +01: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…
Reference in New Issue
Block a user