Ensure avrule is initialized.
Bug: http://b/131390872 Test: Builds with -Wconditional-initialize Change-Id: I14b9316ca392f299745342d61e4fd45ab8e9e307
This commit is contained in:
parent
5a883148a0
commit
5c081803fc
@ -378,7 +378,7 @@ static int check_neverallows(policydb_t *policydb, char *text, char *end)
|
||||
{
|
||||
const char *keyword = "neverallow";
|
||||
size_t keyword_size = strlen(keyword), len;
|
||||
struct avrule *neverallows = NULL, *avrule;
|
||||
struct avrule *neverallows = NULL, *avrule = NULL;
|
||||
char *p, *start;
|
||||
int result;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user