[dasher] Fix compiler warning



commit d3c7ede6d4174af28aed5c98098c367fef0dfdd6
Author: Patrick Welche <prlw1 cam ac uk>
Date:   Sat Jan 18 01:00:20 2014 +0000

    Fix compiler warning
    
    After patch from Mike Gorse.

 Src/DasherCore/DasherViewSquare.cpp |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/Src/DasherCore/DasherViewSquare.cpp b/Src/DasherCore/DasherViewSquare.cpp
index ecd39f0..7da9a61 100644
--- a/Src/DasherCore/DasherViewSquare.cpp
+++ b/Src/DasherCore/DasherViewSquare.cpp
@@ -473,6 +473,8 @@ bool CDasherViewSquare::IsSpaceAroundNode(myint y1, myint y2) {
       return maxYDiff*maxYDiff + iVisibleMaxX*iVisibleMaxX > maxX*maxX;
     }
   }
+  /* NOTREACHED */
+  return false;
 }
 
 void CDasherViewSquare::DisjointRender(CDasherNode *pRender, myint y1, myint y2,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]