cleanup: fix compiler warnings in recently edited files.

Replace NULL -> nullptr
Remove spurious semicolon

Signed-off-by: Michael WERLE <micha@michaelwerle.com>
This commit is contained in:
Michael Werle 2022-08-17 10:20:11 +09:00 committed by Dirk Hohndel
parent efb1832db8
commit 881a9cac4e
3 changed files with 5 additions and 5 deletions

View file

@ -222,7 +222,7 @@ MapLocation *MapLocationModel::getMapLocation(const struct dive_site *ds)
if (ds == location->divesite)
return location;
}
return NULL;
return nullptr;
}
void MapLocationModel::diveSiteChanged(struct dive_site *ds, int field)