mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
efb1832db8
commit
881a9cac4e
3 changed files with 5 additions and 5 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue