Skip to content
Snippets Groups Projects
Commit 1310f914 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

am: 16fcbe8f

Change-Id: Ib5ed5ec8a3471c2c5bd66b31663e1e8bea3a333e
parents 5dad5302 16fcbe8f
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