Skip to content
Snippets Groups Projects
Commit 16fcbe8f authored by Alex Klyubin's avatar Alex Klyubin Committed by android-build-merger
Browse files

Merge "Do not warn about empty typesets in neverallows" into oc-dev

am: 26564ce7

Change-Id: I8961e581bad56f118c112f6b1e6d2ba11a81ccf6
parents adee97e9 26564ce7
No related branches found
No related tags found
No related merge requests found
...@@ -173,9 +173,6 @@ static int read_typeset(policydb_t *policydb, char **ptr, char *end, ...@@ -173,9 +173,6 @@ static int read_typeset(policydb_t *policydb, char **ptr, char *end,
} }
} }
if (warn && ebitmap_length(&typeset->types) == 0 && !(*flags))
fprintf(stderr, "Warning! Empty type set\n");
*ptr = p; *ptr = p;
return 0; return 0;
err: err:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment