Module: kamailio
Branch: master
Commit: 5395bbe6522ab9b9874162874935119cff8aa764
URL:
https://github.com/kamailio/kamailio/commit/5395bbe6522ab9b9874162874935119…
Author: Mikko Lehto <mslehto(a)iki.fi>
Committer: Mikko Lehto <mslehto(a)iki.fi>
Date: 2016-05-25T13:49:39+03:00
modules/ims_dialog: fix clang warning -Wparentheses-equality
---
Modified: modules/ims_dialog/dlg_hash.c
---
Diff:
https://github.com/kamailio/kamailio/commit/5395bbe6522ab9b9874162874935119…
Patch:
https://github.com/kamailio/kamailio/commit/5395bbe6522ab9b9874162874935119…
---
diff --git a/modules/ims_dialog/dlg_hash.c b/modules/ims_dialog/dlg_hash.c
index 26817ac..cc6db50 100644
--- a/modules/ims_dialog/dlg_hash.c
+++ b/modules/ims_dialog/dlg_hash.c
@@ -671,7 +671,7 @@ void dlg_remove_dlg_out(struct dlg_cell_out *dlg_out_do_not_remove,
struct dlg_c
LM_DBG("This is the dlg_out not to be removed!\n");
} else {
//check if this the last entry in the entry_table
- if ((d_entry_out->first == d_entry_out->last)) {
+ if (d_entry_out->first == d_entry_out->last) {
//we shouldnt ever get here
LM_DBG("This is the last dlg_out_entry in the
dlg_entries_out\n");
//this is the last then set entry_out-> first and entry_out->last
to zero