Преглед на файлове

modules/ims_dialog: fix clang warning -Wparentheses-equality

Mikko Lehto преди 9 години
родител
ревизия
5395bbe652
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      modules/ims_dialog/dlg_hash.c

+ 1 - 1
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