From 1cb122433ef70dbb047b865347d520fd7c8e5bdb Mon Sep 17 00:00:00 2001 From: jsullivan-anl Date: Fri, 22 Sep 2006 16:42:24 +0000 Subject: [PATCH] fix compiler warning - rtnCnt init --- motorApp/NewFocusSrc/drvPMNC87xx.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/motorApp/NewFocusSrc/drvPMNC87xx.cc b/motorApp/NewFocusSrc/drvPMNC87xx.cc index 56414af8..c6ca1746 100644 --- a/motorApp/NewFocusSrc/drvPMNC87xx.cc +++ b/motorApp/NewFocusSrc/drvPMNC87xx.cc @@ -795,7 +795,7 @@ STATIC int motor_init() char *bufptr; int total_axis = 0; int driverIndex; - int rtnCnt; + int rtnCnt = 0; asynStatus success_rtn; initialized = true; /* Indicate that driver is initialized. */