openvz: Need to initialize 'ret' for kb_per_pages error path

This commit is contained in:
John Ferlan 2013-01-08 10:40:59 -05:00 committed by Ján Tomko
parent bbf1806f31
commit 2581270527

View File

@ -485,7 +485,7 @@ error:
static int
openvzReadMemConf(virDomainDefPtr def, int veid)
{
int ret;
int ret = -1;
char *temp = NULL;
unsigned long long barrier, limit;
const char *param;