Commit 5270bf4b by Kyle Russell Committed by Stéphane Graber

Fix compile warning on uninitialized return value

parent 859a6da0
......@@ -59,7 +59,7 @@ enum {
static char *mount_has_subsystem(const struct mntent *mntent)
{
FILE *f;
char *c, *ret;
char *c, *ret = NULL;
char line[MAXPATHLEN];
/* read the list of subsystems from the kernel */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment