diff options
author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2015-03-22 09:25:19 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2015-03-22 09:25:19 +0100 |
commit | 3a580f263a24e0ce7d3ed544af0373c22ae9eeac (patch) | |
tree | 22b6dcf52c88142c70829d7e8045e92e376f8024 | |
parent | 050d60a9a1210d456e5db247cef0e860ed38ebbb (diff) |
subchan: Remove unused const variable
nullbytes has never been used, I assume the code ended up
using memset instead of copying from nullbytes.
Fixes:
subchan_demux.c:47:22: warning: unused variable 'nullbytes' [-Wunused-const-variable]
static const uint8_t nullbytes[SYNC_HDR_BITS];
-rw-r--r-- | src/subchan_demux.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/subchan_demux.c b/src/subchan_demux.c index 4cd6094..f965490 100644 --- a/src/subchan_demux.c +++ b/src/subchan_demux.c @@ -44,7 +44,6 @@ static inline void append_bit(struct demux_subch *sch, uint8_t bit) } #define SYNC_HDR_BITS 16 -static const uint8_t nullbytes[SYNC_HDR_BITS]; /* check if we have just completed the 16 bit zero + 1 bit one sync * header, in accordance with GSM TS 08.60 Chapter 4.8.1 */ |