diff options
author | Johan Hedberg <johan.hedberg@intel.com> | 2011-05-15 01:57:12 +0300 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2011-05-15 01:57:12 +0300 |
commit | 2076574365b22a211b569a4dcc9a4df6f924f41c (patch) | |
tree | 8da7f776fcfd18ab7fea33b1eefccbfa36c132d6 /tools/hcitool.c | |
parent | 0e047a188b6c287ee9716fa0186c7e5ecc74e759 (diff) | |
download | bluez-2076574365b22a211b569a4dcc9a4df6f924f41c.tar.gz |
Fix unused variable warnings reported by GCC 4.6
Diffstat (limited to 'tools/hcitool.c')
-rw-r--r-- | tools/hcitool.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tools/hcitool.c b/tools/hcitool.c index a1174497a..ece187cfa 100644 --- a/tools/hcitool.c +++ b/tools/hcitool.c @@ -2351,7 +2351,6 @@ static int print_advertising_devices(int dd, uint8_t filter_type) unsigned char buf[HCI_MAX_EVENT_SIZE], *ptr; struct hci_filter nf, of; socklen_t olen; - hci_event_hdr *hdr; int num, len; olen = sizeof(of); @@ -2382,7 +2381,6 @@ static int print_advertising_devices(int dd, uint8_t filter_type) goto done; } - hdr = (void *) (buf + 1); ptr = buf + (1 + HCI_EVENT_HDR_SIZE); len -= (1 + HCI_EVENT_HDR_SIZE); |