OSDN Git Service

Fix bta_dm_act.cc compile error.
authorAlex Deymo <deymo@google.com>
Wed, 15 Mar 2017 07:16:58 +0000 (00:16 -0700)
committerAlex Deymo <deymo@google.com>
Wed, 15 Mar 2017 07:28:39 +0000 (00:28 -0700)
When BTM_LOCAL_IO_CAPS == BTM_IO_CAP_NONE the code fails to compile due
to a missing comma. This was introducted a couple of months ago by
2e8e9f42132d0297a94c0852a1fbf45c9bc348e5 but it went undetected.

This patch simply adds back the missing comma.

Bug: 35804180
Test: `make` on a device with BTM_LOCAL_IO_CAPS set to BTM_IO_CAP_NONE.
Change-Id: I0a924abec4fe6612c5dbb72416123ca391551523

bta/dm/bta_dm_act.cc

index 0dd3d86..9509ae6 100644 (file)
@@ -238,7 +238,7 @@ const tBTM_APPL_INFO bta_security = {&bta_dm_authorize_cback,
 #if (BTM_LOCAL_IO_CAPS != BTM_IO_CAP_NONE)
                                      &bta_dm_sp_cback,
 #else
-                                     NULL
+                                     NULL,
 #endif
                                      &bta_dm_ble_smp_cback,
                                      &bta_dm_ble_id_key_cback};