Skip to content
Snippets Groups Projects
Commit e1682c71 authored by Rahul Chaudhry's avatar Rahul Chaudhry Committed by George Burgess IV
Browse files

check_seapp: cleanup warning caught by clang tidy / static analyzer.

check_seapp.c:993:6: warning: Passed-by-value struct argument contains
uninitialized data (e.g., field: 'data')

Bug: 26936282
Test: WITH_TIDY=1 WITH_STATIC_ANALYZER=1 mm
Change-Id: I3fc2ca8f862356628864f2a37b8d39222c8d658a
parent b1b872c3
No related branches found
No related tags found
No related merge requests found
...@@ -987,6 +987,7 @@ static void rule_add(rule_map *rm) { ...@@ -987,6 +987,7 @@ static void rule_add(rule_map *rm) {
list *list_to_addto; list *list_to_addto;
e.key = rm->key; e.key = rm->key;
e.data = NULL;
log_info("Searching for key: %s\n", e.key); log_info("Searching for key: %s\n", e.key);
/* Check to see if it has already been added*/ /* Check to see if it has already been added*/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment