Index: trunk/MagicSoft/Cosy/devdrv/shaftencoder.h
===================================================================
--- trunk/MagicSoft/Cosy/devdrv/shaftencoder.h	(revision 7297)
+++ trunk/MagicSoft/Cosy/devdrv/shaftencoder.h	(revision 7299)
@@ -118,4 +118,5 @@
             return GetPos()+fHysteresisNeg;
         }
+         return 0;
     }
 
