]> granicus.if.org Git - esp-idf/commitdiff
bt: Fix bracket warning
authorStephen Bird <sebirdman@users.noreply.github.com>
Fri, 12 Oct 2018 18:15:40 +0000 (11:15 -0700)
committerMahavir Jain <mahavir@espressif.com>
Thu, 8 Nov 2018 10:27:12 +0000 (15:57 +0530)
Merges https://github.com/espressif/esp-idf/pull/2568

components/bt/bluedroid/stack/gatt/gatt_utils.c

index 5dd43a2fe78a476c9b00de8bd62a8417195df445..b7608f8d9286fb5ef436295d1ca0261d900b3e4e 100644 (file)
@@ -2192,9 +2192,10 @@ void gatt_end_operation(tGATT_CLCB *p_clcb, tGATT_STATUS status, void *p_data)
         (*p_disc_cmpl_cb)(conn_id, disc_type, status);
     } else if (p_cmpl_cb && op) {
         (*p_cmpl_cb)(conn_id, op, status, &cb_data);
-    } else
+    } else {
         GATT_TRACE_WARNING ("gatt_end_operation not sent out op=%d p_disc_cmpl_cb:%p p_cmpl_cb:%p",
                             operation, p_disc_cmpl_cb, p_cmpl_cb);
+    }
 }
 
 /*******************************************************************************