Various misc warnings
This commit is contained in:
@ -307,7 +307,7 @@ typedef struct lset {
|
||||
*
|
||||
* @param plink the link
|
||||
* @param dbrType data type code
|
||||
* @param pbuffer where to put the value
|
||||
* @param pbuffer where the data is
|
||||
* @param nRequest number of elements to send
|
||||
* @returns status value
|
||||
*/
|
||||
@ -324,7 +324,7 @@ typedef struct lset {
|
||||
*
|
||||
* @param plink the link
|
||||
* @param dbrType data type code
|
||||
* @param pbuffer where to put the value
|
||||
* @param pbuffer where the data is
|
||||
* @param nRequest number of elements to send
|
||||
* @returns status value
|
||||
*/
|
||||
|
@ -36,7 +36,7 @@ struct compareLoc {
|
||||
return true;
|
||||
else if(lhs.prset>rhs.prset)
|
||||
return false;
|
||||
return lhs.sizeOffset<rhs.sizeOffset;
|
||||
return (char *)lhs.sizeOffset < (char *)rhs.sizeOffset;
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -98,13 +98,10 @@ static void clean_addrq(struct client *client)
|
||||
}
|
||||
epicsMutexUnlock ( client->chanListLock );
|
||||
|
||||
# ifdef DEBUG
|
||||
if(ndelete){
|
||||
if (CASDEBUG>1 && ndelete){
|
||||
epicsPrintf ("CAS: %d CA channels have expired after %f sec\n",
|
||||
ndelete, maxdelay);
|
||||
}
|
||||
# endif
|
||||
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -120,6 +120,9 @@ void doMulti(workerPriv *p)
|
||||
}
|
||||
dbScanUnlockMany(locker);
|
||||
|
||||
if (0)
|
||||
testDiag("sum = %d", sum);
|
||||
|
||||
dbLockerFree(locker);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user