1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/unittests/tests-cbor
René Kijewski 11ce199c41 cbor: compare asserted lengths in unit test
In `test_array`, `test_array` and `test_map` the variable `offset` was
written to but not read. The accumulated value should equal the total
length of the input. This diff adds this check and fixes the warning
in turn.

Found via scan-build.
2015-08-25 21:16:50 +02:00
..
Makefile
Makefile.include
tests-cbor.c cbor: compare asserted lengths in unit test 2015-08-25 21:16:50 +02:00