Code Review
/
apps
/
agl-service-can-low-level.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Add support for inverted patterns in test framework.
[apps/agl-service-can-low-level.git]
/
tests
/
alltypes_callback
/
decode_alltypes_callback.c
diff --git
a/tests/alltypes_callback/decode_alltypes_callback.c
b/tests/alltypes_callback/decode_alltypes_callback.c
index
81274f6
..
b6017fe
100644
(file)
--- a/
tests/alltypes_callback/decode_alltypes_callback.c
+++ b/
tests/alltypes_callback/decode_alltypes_callback.c
@@
-220,6
+220,7
@@
bool check_alltypes(pb_istream_t *stream, int mode)
/* Fill with garbage to better detect initialization errors */
memset(&alltypes, 0xAA, sizeof(alltypes));
+ alltypes.extensions = 0;
alltypes.req_int32.funcs.decode = &read_varint;
alltypes.req_int32.arg = (void*)-1001;