don't set variable we don't use.
authorChristos Zoulas <christos@zoulas.com>
Thu, 6 Oct 2011 14:28:21 +0000 (10:28 -0400)
committerChristos Zoulas <christos@zoulas.com>
Thu, 6 Oct 2011 14:28:21 +0000 (10:28 -0400)
amd/amfs_union.c

index 0d77c8544ef2887840c531d429ce2677eef7d54d..e9dcfce329702e6170a0fcb3e25a2c14bdc35293 100644 (file)
@@ -95,7 +95,7 @@ create_amfs_union_node(char *dir, opaque_t arg)
     am_node *am;
     am = amfs_generic_lookup_child(arg, dir, &error, VLOOK_CREATE);
     if (am && error < 0)
-      am = amfs_generic_mount_child(am, &error);
+      (void)amfs_generic_mount_child(am, &error);
     if (error > 0) {
       errno = error;           /* XXX */
       plog(XLOG_ERROR, "unionfs: could not mount %s: %m", dir);