From: Christos Zoulas Date: Thu, 6 Oct 2011 14:28:21 +0000 (-0400) Subject: don't set variable we don't use. X-Git-Url: https://git.fsl.cs.stonybrook.edu/?a=commitdiff_plain;h=51bb6d2b99331b56de0a1bca7df9f3532d5ecebc;p=am-utils-6.2.git don't set variable we don't use. --- diff --git a/amd/amfs_union.c b/amd/amfs_union.c index 0d77c854..e9dcfce3 100644 --- a/amd/amfs_union.c +++ b/amd/amfs_union.c @@ -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);