mirror of https://github.com/MidnightCommander/mc
Warning fix in the previous commit.
This commit is contained in:
parent
b68a8a5ca8
commit
87e4797648
|
@ -840,9 +840,6 @@ fish_fill_names (vfs *me, void (*func)(char *))
|
|||
|
||||
while (super){
|
||||
switch (SUP.flags & (FISH_FLAG_RSH | FISH_FLAG_COMPRESSED)) {
|
||||
case 0:
|
||||
flags = "";
|
||||
break;
|
||||
case FISH_FLAG_RSH:
|
||||
flags = ":r";
|
||||
break;
|
||||
|
@ -852,6 +849,9 @@ fish_fill_names (vfs *me, void (*func)(char *))
|
|||
case FISH_FLAG_RSH | FISH_FLAG_COMPRESSED:
|
||||
flags = "";
|
||||
break;
|
||||
default:
|
||||
flags = "";
|
||||
break;
|
||||
}
|
||||
|
||||
name = g_strconcat ("/#sh:", SUP.user, "@", SUP.host, flags,
|
||||
|
|
Loading…
Reference in New Issue