summaryrefslogtreecommitdiff
path: root/bits.c
diff options
context:
space:
mode:
authorGary E. Miller <gem@rellim.com>2015-03-25 15:36:51 -0700
committerGary E. Miller <gem@rellim.com>2015-03-25 15:36:51 -0700
commitaef73497e29db14b23448b2ae312b20733a01aac (patch)
tree72d6df2c5a0094c63ff17dc037c9d3da354b2944 /bits.c
parentac3d44a1912795d06bcc2501741c9c3deaba8a0d (diff)
downloadgpsd-aef73497e29db14b23448b2ae312b20733a01aac.tar.gz
Yet more: Line expects to suppress X error, found 0 errors
Diffstat (limited to 'bits.c')
-rw-r--r--bits.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/bits.c b/bits.c
index 19a86b47..bba72e46 100644
--- a/bits.c
+++ b/bits.c
@@ -25,16 +25,16 @@ uint64_t ubits(unsigned char buf[], unsigned int start, unsigned int width, bool
unsigned int i;
unsigned end;
- /*@i1@*/ assert(width <= sizeof(uint64_t) * CHAR_BIT);
+ assert(width <= sizeof(uint64_t) * CHAR_BIT);
for (i = start / CHAR_BIT;
i < (start + width + CHAR_BIT - 1) / CHAR_BIT; i++) {
- /*@i1@*/fld <<= CHAR_BIT;
+ fld <<= CHAR_BIT;
fld |= (unsigned char)buf[i];
}
end = (start + width) % CHAR_BIT;
if (end != 0) {
- /*@i1@*/fld >>= (CHAR_BIT - end);
+ fld >>= (CHAR_BIT - end);
}
/*@ -shiftimplementation @*/