aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Walsh <dwalsh@redhat.com>2012-11-21 14:25:17 -0500
committerEric Paris <eparis@redhat.com>2013-02-05 20:14:42 -0500
commit7504bbd87302c61f39f8f7641df63213f5da6cd8 (patch)
tree8e8c5812aaefda90b9ceeef4184e92f3ea9312be
parentc9b09be4244f3c90cee19d9e3feca324f0e0e636 (diff)
downloadandroid_external_selinux-7504bbd87302c61f39f8f7641df63213f5da6cd8.tar.gz
android_external_selinux-7504bbd87302c61f39f8f7641df63213f5da6cd8.tar.bz2
android_external_selinux-7504bbd87302c61f39f8f7641df63213f5da6cd8.zip
libselinux: audit2why: Cleanup audit2why analysys function
Tee-tiny cleanup to remove needless {} Signed-off-by: Eric Paris <eparis@redhat.com> Acked-by: Dan Walsh <dwalsh@redhat.com>
-rw-r--r--libselinux/src/audit2why.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libselinux/src/audit2why.c b/libselinux/src/audit2why.c
index 86574e46..5676b7dd 100644
--- a/libselinux/src/audit2why.c
+++ b/libselinux/src/audit2why.c
@@ -428,9 +428,9 @@ static PyObject *analyze(PyObject *self __attribute__((unused)) , PyObject *args
RETURN(CONSTRAINT);
}
- if (reason & SEPOL_COMPUTEAV_RBAC) {
+ if (reason & SEPOL_COMPUTEAV_RBAC)
RETURN(RBAC)
- }
+
RETURN(BADCOMPUTE)
}