projects
/
platform
/
core
/
api
/
bluetooth.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb43f5d
)
[Bluetooth]: Fix build error
31/101231/1
submit/tizen_3.0/20161202.001922
author
Gowtham Anandha Babu
<gowtham.ab@samsung.com>
Wed, 30 Nov 2016 12:11:42 +0000
(17:41 +0530)
committer
Gowtham Anandha Babu
<gowtham.ab@samsung.com>
Wed, 30 Nov 2016 12:11:42 +0000
(17:41 +0530)
Change-Id: Iba5afcd043ef57c1d17990452413bd7e146e0905
error: braces around scalar initializer.
src/bluetooth-hid.c
patch
|
blob
|
history
diff --git
a/src/bluetooth-hid.c
b/src/bluetooth-hid.c
index 58c80014cad472f292e9e853c52b71e652998008..b4796387a9b5dcba74a5428cfd28c1257a4365b1 100644
(file)
--- a/
src/bluetooth-hid.c
+++ b/
src/bluetooth-hid.c
@@
-273,7
+273,7
@@
int bt_hid_device_send_key_event(const char *remote_address,
BT_CHECK_INIT_STATUS();
BT_CHECK_INPUT_PARAMETER(remote_address);
BT_CHECK_INPUT_PARAMETER(key_data);
- hid_send_key_event_t send_event = {
{0,}
};
+ hid_send_key_event_t send_event = {
0
};
send_event.modify = key_data->modifier;
memcpy(send_event.key, key_data->key, sizeof(send_event.key));