apparmor: Fix compilation by removing remains from virCommand conversion

Commit aaf20355b8 was incomplete here and
missed to remove some parts.
This commit is contained in:
Matthias Bolte 2011-05-14 06:51:32 +02:00
parent 6593a5cbfd
commit 0ec289a469

View File

@ -163,7 +163,7 @@ load_profile(virSecurityManagerPtr mgr,
const char *fn, const char *fn,
bool append) bool append)
{ {
int rc = -1, status, ret; int rc = -1;
bool create = true; bool create = true;
char *xml = NULL; char *xml = NULL;
virCommandPtr cmd; virCommandPtr cmd;
@ -194,9 +194,6 @@ load_profile(virSecurityManagerPtr mgr,
clean: clean:
VIR_FREE(xml); VIR_FREE(xml);
VIR_FORCE_CLOSE(pipefd[0]);
VIR_FORCE_CLOSE(pipefd[1]);
return rc; return rc;
} }