From bedd2a8dc4d95360fcc6dd870be04e615b4f2766 Mon Sep 17 00:00:00 2001 From: Eric Paris Date: Thu, 15 Sep 2011 17:56:12 -0400 Subject: [PATCH] libselinux: utils: matchpathcon: remove duplicate declaration We declare rc both for a function and inside a stanze. We only need it in the stanze so remove the declaration for the whole function. Signed-off-by: Eric Paris --- libselinux/utils/matchpathcon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libselinux/utils/matchpathcon.c b/libselinux/utils/matchpathcon.c index 2fa21bca..5f0a4c2e 100644 --- a/libselinux/utils/matchpathcon.c +++ b/libselinux/utils/matchpathcon.c @@ -45,7 +45,7 @@ int printmatchpathcon(char *path, int header, int mode) int main(int argc, char **argv) { - int i, init = 0, rc = 0; + int i, init = 0; int header = 1, opt; int verify = 0; int notrans = 0;