* src/xen/xm_internal.c (xenXMDomainConfigParse): Avoid dead store
to local, "data". Remove declaration, too.
/*
* xm_internal.h: helper routines for dealing with inactive domains
*
- * Copyright (C) 2006-2007, 2009 Red Hat
+ * Copyright (C) 2006-2007, 2009, 2010 Red Hat
* Copyright (C) 2006 Daniel P. Berrange
*
* This library is free software; you can redistribute it and/or
graphics->type = VIR_DOMAIN_GRAPHICS_TYPE_VNC;
while (key) {
- char *data;
char *nextkey = strchr(key, ',');
char *end = nextkey;
if (nextkey) {
nextkey++;
}
- if (!(data = strchr(key, '=')))
+ if (!strchr(key, '='))
break;
if (graphics->type == VIR_DOMAIN_GRAPHICS_TYPE_VNC) {