summaryrefslogtreecommitdiff
path: root/main/lock.c
diff options
context:
space:
mode:
authorRichard Mudgett <rmudgett@digium.com>2014-03-25 15:47:17 +0000
committerRichard Mudgett <rmudgett@digium.com>2014-03-25 15:47:17 +0000
commitc8ebf3e3c76ed599b46fe97336b0fd7be416852f (patch)
treecd0cf99c82e0268368afafe416b027da83f5d0d5 /main/lock.c
parent89e12de79dce4266bba536e7f7290adf36a737f1 (diff)
Revert -r411073. It didn't help and blew up the system.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@411087 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main/lock.c')
-rw-r--r--main/lock.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/main/lock.c b/main/lock.c
index 0af736f7d..d66e01b27 100644
--- a/main/lock.c
+++ b/main/lock.c
@@ -311,7 +311,6 @@ int __ast_pthread_mutex_lock(const char *filename, int lineno, const char *func,
}
#endif /* DEBUG_THREADS */
- ast_assert(res == 0);/*!< \todo BUGBUG Test to ensure that lock/unlock does not fail. */
return res;
}
@@ -418,7 +417,6 @@ int __ast_pthread_mutex_unlock(const char *filename, int lineno, const char *fun
__ast_mutex_logger("%s line %d (%s): Error: mutex '%s' is uninitialized and unable to initialize.\n",
filename, lineno, func, mutex_name);
}
- ast_assert(res == 0);/*!< \todo BUGBUG Test to ensure that lock/unlock does not fail. */
return res;
}
#endif /* AST_MUTEX_INIT_W_CONSTRUCTORS */
@@ -479,7 +477,6 @@ int __ast_pthread_mutex_unlock(const char *filename, int lineno, const char *fun
}
#endif /* DEBUG_THREADS */
- ast_assert(res == 0);/*!< \todo BUGBUG Test to ensure that lock/unlock does not fail. */
return res;
}