summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--client/mount.cifs.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/client/mount.cifs.c b/client/mount.cifs.c
index f53bcf1607..97144a0607 100644
--- a/client/mount.cifs.c
+++ b/client/mount.cifs.c
@@ -1548,6 +1548,8 @@ mount_retry:
ipaddr = inet_ntop(AF_INET, &addr4->sin_addr, optionstail,
options_size - current_len);
break;
+ default:
+ ipaddr = NULL;
}
/* if the address looks bogus, try the next one */