s/assert/heim_assert/ and remove dead code

This commit is contained in:
Nicolas Williams
2011-07-24 11:07:27 -05:00
parent dfc7ec92fa
commit 95262936c7
6 changed files with 5 additions and 46 deletions

View File

@@ -95,7 +95,7 @@ DB_unlock(krb5_context context, HDB *db)
db->lock_count--;
return 0;
}
assert( db->lock_count == 1 );
heim_assert(db->lock_count == 1, "HDB lock/unlock sequence does not match");
db->lock_count--;
if(fd < 0) {