mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 21:06:52 +03:00
Add default cases for switch(){} construction in smbfs
Signed-off-by: Slava Zanko <v.zanko@godeltech.com>
This commit is contained in:
parent
90339b2f84
commit
d22018d562
@ -572,6 +572,8 @@ smbfs_browsing_helper (const char *name, uint32 type, const char *comment, void
|
|||||||
case STYPE_IPC:
|
case STYPE_IPC:
|
||||||
typestr = "IPC";
|
typestr = "IPC";
|
||||||
break;
|
break;
|
||||||
|
default:
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
DEBUG (3, ("\t%-15.15s%-10.10s%s\n", name, typestr, comment));
|
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;
|
info->nread = size + offset;
|
||||||
break;
|
break;
|
||||||
|
default:
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
return info->nread;
|
return info->nread;
|
||||||
@ -2028,6 +2032,8 @@ smbfs_setctl (const vfs_path_t * vpath, int ctlop, void *arg)
|
|||||||
case VFS_SETCTL_LOGFILE:
|
case VFS_SETCTL_LOGFILE:
|
||||||
smbfs_set_debugf ((const char *) arg);
|
smbfs_set_debugf ((const char *) arg);
|
||||||
break;
|
break;
|
||||||
|
default:
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user