1
0
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:
Stefan Karlsson 2016-03-06 12:48:20 +01:00
parent 8e63d4e618
commit 371b658afc

View File

@ -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;
} }