+3190. [bug] Underflow in error handling in isc_mutexblock_init.
+ [RT #26397]
+
3189. [test] Added a summary report after system tests. [RT #25517]
3187. [port] win32: support for Visual Studio 2008. [RT #26356]
* PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: mutexblock.c,v 1.20 2007/06/19 23:47:17 tbox Exp $ */
+/* $Id: mutexblock.c,v 1.20.332.1 2011/11/01 22:05:38 marka Exp $ */
/*! \file */
for (i = 0; i < count; i++) {
result = isc_mutex_init(&block[i]);
if (result != ISC_R_SUCCESS) {
- i--;
- while (i > 0) {
- DESTROYLOCK(&block[i]);
+ while (i > 0U) {
i--;
+ DESTROYLOCK(&block[i]);
}
return (result);
}