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