Module: kamailio
Branch: master
Commit: fb2ac639037cb911162bb61a541976899fa1bdab
URL:
https://github.com/kamailio/kamailio/commit/fb2ac639037cb911162bb61a5419768…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-02-05T22:19:34+01:00
core: removed return never executed
---
Modified: src/core/locking.c
---
Diff:
https://github.com/kamailio/kamailio/commit/fb2ac639037cb911162bb61a5419768…
Patch:
https://github.com/kamailio/kamailio/commit/fb2ac639037cb911162bb61a5419768…
---
diff --git a/src/core/locking.c b/src/core/locking.c
index aced1d270c..c03fb15fcd 100644
--- a/src/core/locking.c
+++ b/src/core/locking.c
@@ -107,7 +107,6 @@ rec_lock_set_t* rec_lock_set_alloc(int n)
ls->size=n;
}
return ls;
- return NULL;
}
/**
@@ -153,4 +152,4 @@ void rec_lock_set_release(rec_lock_set_t* lset, int i)
{
rec_lock_release(&lset->locks[i]);
return;
-}
\ No newline at end of file
+}