Skip to content

Commit

Permalink
Temp save. Not complete.
Browse files Browse the repository at this point in the history
  • Loading branch information
ax-6 committed Aug 14, 2024
1 parent e3ebfcc commit 8ee0865
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aqvm/base/threading/file_lock/file_lock.c
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ int AqvmBaseThreadingFileLock_AddFileLock(struct AqvmBaseFile_File* file) {
}

int AqvmBaseThreadingFileLock_RemoveFileLock(struct AqvmBaseFile_File* file) {
if (file == NULL || file->lock == NULL || file->lock->lock_count == 0) {
if (file == NULL || file->lock == NULL) {
// TODO
return -1;
}
Expand Down

0 comments on commit 8ee0865

Please sign in to comment.