From ebea59ad821a5d11bcb7280216d08d26c8593db4 Mon Sep 17 00:00:00 2001 From: Matthias Bolte Date: Sat, 7 May 2011 13:13:41 +0200 Subject: [PATCH] apparmor: Fix uninitalized variable warning in virt-aa-helper --- src/security/virt-aa-helper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/security/virt-aa-helper.c b/src/security/virt-aa-helper.c index a4e8549d43..e481095734 100644 --- a/src/security/virt-aa-helper.c +++ b/src/security/virt-aa-helper.c @@ -245,7 +245,7 @@ update_include_file(const char *include_file, const char *included_files, bool append) { int rc = -1; - int plen, flen; + int plen, flen = 0; int fd; char *pcontent = NULL; char *existing = NULL; -- 2.47.2