From 6062c45b1d31ba5b7ef12ecda6cb8c9d3aa55714 Mon Sep 17 00:00:00 2001 From: Unto Sten Date: Wed, 12 Jun 2019 17:15:06 +0300 Subject: [PATCH] Remove redundant if-clause Signed-off-by: Unto Sten --- checkpolicy/parse_util.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/checkpolicy/parse_util.c b/checkpolicy/parse_util.c index 9fda5b42..f2809b48 100644 --- a/checkpolicy/parse_util.c +++ b/checkpolicy/parse_util.c @@ -69,9 +69,6 @@ int read_source_policy(policydb_t * p, const char *file, const char *progname) } queue_destroy(id_queue); - if (policydb_errors) - return -1; - fclose(yyin); return 0;