diff options
author | Chris Manton <cmanton@google.com> | 2014-07-18 13:41:32 -0700 |
---|---|---|
committer | Chris Manton <cmanton@google.com> | 2014-07-18 13:42:26 -0700 |
commit | 227f6b08abb4e786a8951dde128388cd025ee63f (patch) | |
tree | b5b537ac4664715fdd30d668151b77fec3dea1de /hci/src/btsnoop.c | |
parent | e2e1d88a34e1d9d9e164136bdc6a5288fe78ffbf (diff) | |
download | android_system_bt-227f6b08abb4e786a8951dde128388cd025ee63f.tar.gz android_system_bt-227f6b08abb4e786a8951dde128388cd025ee63f.tar.bz2 android_system_bt-227f6b08abb4e786a8951dde128388cd025ee63f.zip |
Initialize stack variable to eliminate warning
Change-Id: I4f4843da796d3c2b0aed3130b88d947491a341d0
Diffstat (limited to 'hci/src/btsnoop.c')
-rw-r--r-- | hci/src/btsnoop.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hci/src/btsnoop.c b/hci/src/btsnoop.c index 1d9bcb7fe..e74a0d7d7 100644 --- a/hci/src/btsnoop.c +++ b/hci/src/btsnoop.c @@ -72,7 +72,7 @@ static void btsnoop_write(const void *data, size_t length) { } static void btsnoop_write_packet(packet_type_t type, const uint8_t *packet, bool is_received) { - int length_he; + int length_he = 0; int length; int flags; int drops = 0; |