-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 This patch looks good to me. acked. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.13 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlD+p/0ACgkQrlYvE4MpobOjlwCgjL5jO28jFLw9kFS9pQLXEora J1wAoLML8u4JvmLD5xkO2v60w3khIxMY =Mboa -----END PGP SIGNATURE-----
>From 83318fd7fa870db82692ffbcf48ac52ad1a8db52 Mon Sep 17 00:00:00 2001 From: Dan Walsh <dwalsh@xxxxxxxxxx> Date: Wed, 21 Nov 2012 14:25:17 -0500 Subject: [PATCH 58/84] libselinux: audit2why: Cleanup audit2why analysys function Tee-tiny cleanup to remove needless {} Signed-off-by: Eric Paris <eparis@xxxxxxxxxx> --- libselinux/src/audit2why.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libselinux/src/audit2why.c b/libselinux/src/audit2why.c index 242f2b2..9bf7f98 100644 --- a/libselinux/src/audit2why.c +++ b/libselinux/src/audit2why.c @@ -404,9 +404,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) } -- 1.8.1