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:
ebdab89
)
Fix build error
85/101485/1
author
Gowtham Anandha Babu
<gowtham.ab@samsung.com>
Wed, 30 Nov 2016 12:11:42 +0000
(17:41 +0530)
committer
DoHyun Pyun
<dh79.pyun@samsung.com>
Thu, 1 Dec 2016 09:01:17 +0000
(18:01 +0900)
Change-Id: I49f5aa9d71c22074e8cfec2f874d72cdbb518fcb
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));