mirror of https://gitee.com/openkylin/libvirt.git
apparmor: Fix uninitalized variable warning in virt-aa-helper
This commit is contained in:
parent
9d8e01a1db
commit
ebea59ad82
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue