windows-locks-uninit-20051122

Initialize 'code' to non-zero at the top of each loop to avoid
setting the last updated timestamp on skipped locks
This commit is contained in:
Jeffrey Altman 2005-11-23 05:00:34 +00:00
parent 5ce322c9f1
commit 030ecf1af9

View File

@ -4154,8 +4154,8 @@ void cm_CheckLocks()
for(q = cm_allFileLocks; q; q = nq) {
fileLock = (cm_file_lock_t *) q;
nq = osi_QNext(q);
code = -1;
if (IS_LOCK_DELETED(fileLock)) {