- cleaned up makefiles
- polished code to avoid warnings
This commit is contained in:
@ -90,14 +90,14 @@
|
||||
iRet = Tcl_GetInt(pSics->pTcl,argv[1],&iStart);
|
||||
if(iRet != TCL_OK)
|
||||
{
|
||||
sprintf(pBueffel,"ERROR: cannot convert %d to integer",argv[1]);
|
||||
sprintf(pBueffel,"ERROR: cannot convert %s to integer",argv[1]);
|
||||
SCWrite(pCon,pBueffel,eError);
|
||||
return 0;
|
||||
}
|
||||
iRet = Tcl_GetInt(pSics->pTcl,argv[2],&iEnd);
|
||||
if(iRet != TCL_OK)
|
||||
{
|
||||
sprintf(pBueffel,"ERROR: cannot convert %d to integer",argv[2]);
|
||||
sprintf(pBueffel,"ERROR: cannot convert %s to integer",argv[2]);
|
||||
SCWrite(pCon,pBueffel,eError);
|
||||
return 0;
|
||||
}
|
||||
@ -109,7 +109,7 @@
|
||||
iRet = Tcl_GetInt(pSics->pTcl,argv[3],&iBank);
|
||||
if(iRet != TCL_OK)
|
||||
{
|
||||
sprintf(pBueffel,"ERROR: cannot convert %d to integer",argv[3]);
|
||||
sprintf(pBueffel,"ERROR: cannot convert %s to integer",argv[3]);
|
||||
SCWrite(pCon,pBueffel,eError);
|
||||
return 0;
|
||||
}
|
||||
@ -286,7 +286,7 @@
|
||||
iRet = Tcl_GetInt(pSics->pTcl,argv[1],&iBank);
|
||||
if(iRet != TCL_OK)
|
||||
{
|
||||
sprintf(pBueffel,"ERROR: cannot convert %d to integer",argv[1]);
|
||||
sprintf(pBueffel,"ERROR: cannot convert %s to integer",argv[1]);
|
||||
SCWrite(pCon,pBueffel,eError);
|
||||
return 0;
|
||||
}
|
||||
@ -554,4 +554,5 @@ HistInt *CheckBank(pFocusAverager self, SConnection *pCon,
|
||||
mergData = getFMBankPointer(4);
|
||||
return mergData;
|
||||
}
|
||||
return NULL; /* inserted statement, guessed return value M.Z */
|
||||
}
|
||||
|
Reference in New Issue
Block a user