Add default cases for switch(){} construction in smbfs

Signed-off-by: Slava Zanko <v.zanko@godeltech.com>
This commit is contained in:
Slava Zanko 2015-08-14 17:27:03 +03:00
parent 90339b2f84
commit d22018d562

View File

@ -572,6 +572,8 @@ smbfs_browsing_helper (const char *name, uint32 type, const char *comment, void
case STYPE_IPC:
typestr = "IPC";
break;
default:
break;
}
DEBUG (3, ("\t%-15.15s%-10.10s%s\n", name, typestr, comment));
}
@ -1858,6 +1860,8 @@ smbfs_lseek (void *data, off_t offset, int whence)
}
info->nread = size + offset;
break;
default:
break;
}
return info->nread;
@ -2028,6 +2032,8 @@ smbfs_setctl (const vfs_path_t * vpath, int ctlop, void *arg)
case VFS_SETCTL_LOGFILE:
smbfs_set_debugf ((const char *) arg);
break;
default:
break;
}
return 0;
}