Skip to content

Commit

Permalink
Merge pull request #335 from jongough/fixes_1.4
Browse files Browse the repository at this point in the history
Add assert to keep coverity happy
  • Loading branch information
jongough authored Dec 18, 2017
2 parents e00eb5b + e591016 commit 02d09d9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ SET(CPACK_PACKAGE_CONTACT "Jon Gough")

SET(VERSION_MAJOR "1")
SET(VERSION_MINOR "4")
SET(VERSION_PATCH "39")
SET(VERSION_DATE "16/12/2017")
SET(VERSION_PATCH "40")
SET(VERSION_DATE "19/12/2017")

SET(BUNDLE_DATA FALSE)
SET( CMAKE_BUILD_TYPE "Release" CACHE STRING "Choose the type of build" )
Expand Down
1 change: 1 addition & 0 deletions src/ODNavObjectChanges.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -658,6 +658,7 @@ bool ODNavObjectChanges::GPXCreatePath( pugi::xml_node node, ODPath *pInPath )
pop = dynamic_cast<BoundaryPoint *>(node2->GetData());
else
pop = node2->GetData();
assert(pop != 0);

GPXCreateODPoint(node.append_child("opencpn:ODPoint"), pop, OPT_OCPNPOINT);

Expand Down

0 comments on commit 02d09d9

Please sign in to comment.