]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Remove pointless 'srcpath' variable in lxcContainerMountBasicFS
authorDaniel P. Berrange <berrange@redhat.com>
Mon, 7 Oct 2013 11:13:15 +0000 (12:13 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Tue, 5 Nov 2013 07:51:47 +0000 (15:51 +0800)
commitf567a583f3745470482d4eecfe4340f3fcc82a84
tree48ee3c7c6a8f60c6188440c202056e209893bc28
parentc6b84a9dee830ab94224e6fb62dab1be92fbf193
Remove pointless 'srcpath' variable in lxcContainerMountBasicFS

The 'srcpath' variable is initialized from 'mnt->src' and never
changed thereafter. Some places continue to use 'mnt->src' and
others use 'srcpath'. Remove the pointless 'srcpath' variable
and use 'mnt->src' everywhere.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
src/lxc/lxc_container.c