]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
Add missing 'return 0;' in stub lxcStartFuse() method impl.
authorDaniel P. Berrange <berrange@redhat.com>
Mon, 18 Nov 2013 16:12:39 +0000 (16:12 +0000)
committerDaniel P. Berrange <berrange@redhat.com>
Mon, 18 Nov 2013 16:12:39 +0000 (16:12 +0000)
Without a 'return 0' in the stub lxcStartFuse() method, the
compiler warns:

lxc/lxc_fuse.c:374: error: control reaches end of non-void function
[-Wreturn-type]

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

index 88e122e8bb1a244e6f7420d3d9712403b81778e5..d3d8f85ac4c497a7ca1f4653a434c5658e420486 100644 (file)
@@ -371,6 +371,7 @@ int lxcSetupFuse(virLXCFusePtr *f ATTRIBUTE_UNUSED,
 
 int lxcStartFuse(virLXCFusePtr f ATTRIBUTE_UNUSED)
 {
+    return 0;
 }
 
 void lxcFreeFuse(virLXCFusePtr *f ATTRIBUTE_UNUSED)