diff options
author | Michael Tatarinov <kukabu@gmail.com> | 2013-11-12 10:08:13 +0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2013-11-12 01:10:36 -0500 |
commit | ba1947dc685dcdd4b9e9020c3dbd68a254a14796 (patch) | |
tree | b1957b03e9e594ae139055cdba779edcc93545c2 /test_bits.c | |
parent | 795b233b94ea4356b3623504f19337d39b7a051b (diff) | |
download | gpsd-ba1947dc685dcdd4b9e9020c3dbd68a254a14796.tar.gz |
Cleanup.
Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
Diffstat (limited to 'test_bits.c')
-rw-r--r-- | test_bits.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test_bits.c b/test_bits.c index 1b93a50e..cb8b2042 100644 --- a/test_bits.c +++ b/test_bits.c @@ -141,6 +141,9 @@ int main(int argc, char *argv[]) memcpy(buf + 24, "\x40\x49\x0f\xdb", 4); /*@ +observertrans +usereleased @*/ + if (!quiet) + (void)printf("Testing bitfield extraction\n"); + /*@-type@*/ sb1 = getsb(buf, 0); sb2 = getsb(buf, 8); @@ -202,7 +205,6 @@ int main(int argc, char *argv[]) if (ub1 != 1) printf("getub(buf, 0) FAILED\n"); if (ub2 != 0xff) printf("getub(buf, 8) FAILED\n"); - (void)printf("Testing bitfield extraction\n"); for (up = unsigned_tests; up < unsigned_tests + sizeof(unsigned_tests) / sizeof(unsigned_tests[0]); |