mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-28 09:20:18 +00:00
Fix warning of uninitialized variable on some compilers due to
no default case in switch statement. git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2290 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -569,6 +569,7 @@ static void ft_recv_cmd(struct ft_sess *sess, struct fc_seq *sp,
|
||||
|
||||
switch (fcp->fc_flags & (FCP_CFL_RDDATA | FCP_CFL_WRDATA)) {
|
||||
case 0:
|
||||
default:
|
||||
data_dir = SCST_DATA_NONE;
|
||||
break;
|
||||
case FCP_CFL_RDDATA:
|
||||
|
||||
Reference in New Issue
Block a user