diff options
author | Matt Ranostay <matt.ranostay@konsulko.com> | 2020-01-23 14:32:33 -0800 |
---|---|---|
committer | Matt Ranostay <matt.ranostay@konsulko.com> | 2020-01-23 20:17:54 -0800 |
commit | 8cbd8efc118df7acdc0a8c49f11bca996c8866ac (patch) | |
tree | f73e602cd90291271bb658cdd28b05656ae1204b | |
parent | 6d63f3695ef0ae50c1cc5eae1d99ed7927fa010c (diff) |
low-can: fix returned event_t from generate_filter() uninitialized
Bug-AGL: SPEC-3129
Change-Id: I003a98863b78b49e85638bbb7e9b0d0fbde5a2b7
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
-rw-r--r-- | low-can-binding/binding/low-can-cb.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/low-can-binding/binding/low-can-cb.cpp b/low-can-binding/binding/low-can-cb.cpp index fd57867c..4eac957f 100644 --- a/low-can-binding/binding/low-can-cb.cpp +++ b/low-can-binding/binding/low-can-cb.cpp @@ -320,7 +320,7 @@ static int subscribe_unsubscribe_signals(afb_req_t request, static event_filter_t generate_filter(json_object* args) { - event_filter_t event_filter; + event_filter_t event_filter = {}; struct json_object *filter, *obj; // computes the filter |