From 9c20d0b4b4d3b85128d1754af3324866b135a412 Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Tue, 31 Jul 2007 08:15:40 +0000 Subject: added macro to consistently define iRet --- ommysql.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ommysql.c') diff --git a/ommysql.c b/ommysql.c index ee8caab7..9171ccd9 100644 --- a/ommysql.c +++ b/ommysql.c @@ -235,7 +235,7 @@ rsRetVal checkDBErrorState(instanceData *pData) static rsRetVal initMySQL(instanceData *pData) { int iCounter = 0; - rsRetVal iRet = RS_RET_OK; + DEFiRet; assert(pData != NULL); if((iRet = checkDBErrorState(pData)) != RS_RET_OK) @@ -289,7 +289,7 @@ static rsRetVal reInitMySQL(instanceData *pData) rsRetVal writeMySQL(uchar *psz, instanceData *pData) { int iCounter=0; - rsRetVal iRet = RS_RET_OK; + DEFiRet; assert(pData != NULL); if((iRet = checkDBErrorState(pData)) != RS_RET_OK) -- cgit