From: Jim Meyering Date: Thu, 3 Sep 2009 11:38:57 +0000 (+0200) Subject: node_device_conf.c: remove dead initialization X-Git-Tag: v0.7.1~112 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3468628a22bc50e4badbe861695be221c831ef34;p=thirdparty%2Flibvirt.git node_device_conf.c: remove dead initialization * src/node_device_conf.c (virNodeDeviceDefFormat): Remove dead initialization. --- diff --git a/src/node_device_conf.c b/src/node_device_conf.c index 56a9bb53a3..5b25bb7787 100644 --- a/src/node_device_conf.c +++ b/src/node_device_conf.c @@ -213,7 +213,7 @@ char *virNodeDeviceDefFormat(virConnectPtr conn, const virNodeDeviceDefPtr def) { virBuffer buf = VIR_BUFFER_INITIALIZER; - virNodeDevCapsDefPtr caps = def->caps; + virNodeDevCapsDefPtr caps; char *tmp; virBufferAddLit(&buf, "\n");