← Commit list

51f421a55

Bernhard Reutner-Fischer
Bernhard Reutner-Fischer
2008-02-27
FAILED Duration: 23s

Subject

- fix compilation failure due to implicit decl of resolve_mount_spec(). DCE DTRT so remove the wrong guard.

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

util-linux/mount.c+0 -2
@@ -248,7 +248,6 @@ static int verbose_mount(const char *source, const char *target,
#define verbose_mount(...) mount(__VA_ARGS__)
#endif
-#if ENABLE_FEATURE_MOUNT_LABEL
static int resolve_mount_spec(char **fsname)
{
char *tmp = NULL;
@@ -264,7 +263,6 @@ static int resolve_mount_spec(char **fsname)
}
return 0;
}
-#endif
/* Append mount options to string */
static void append_mount_options(char **oldopts, const char *newopts)