Skip to content
Snippets Groups Projects
Commit a6a6d048 authored by dcashman's avatar dcashman Committed by Android Git Automerger
Browse files

am 264dc2a8: resolved conflicts for merge of 598b87c2 to lmp-mr1-dev-plus-aosp

* commit '264dc2a8':
  Fix sepolicy-analyze build with different toolchains
parents 03a3d246 264dc2a8
No related branches found
No related tags found
No related merge requests found
...@@ -40,7 +40,9 @@ int main(int argc, char **argv) ...@@ -40,7 +40,9 @@ int main(int argc, char **argv)
char *policy; char *policy;
struct policy_file pf; struct policy_file pf;
policydb_t policydb; policydb_t policydb;
int rc, i; int rc;
int i;
if (argc < 3) if (argc < 3)
usage(argv[0]); usage(argv[0]);
policy = argv[1]; policy = argv[1];
...@@ -55,7 +57,5 @@ int main(int argc, char **argv) ...@@ -55,7 +57,5 @@ int main(int argc, char **argv)
} }
} }
usage(argv[0]); usage(argv[0]);
exit(0);
// will never be called due to exit() call in usage
exit(1);
} }
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