mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-03 18:14:25 +03:00
Add break before empty default in switch.
Signed-off-by: Andreas Mohr <and@gmx.li> Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
3d4d6dbb41
commit
57f5ab7c23
@ -176,6 +176,7 @@ xstrtoumax (const char *s, char **ptr, int base, uintmax_t * val, const char *va
|
||||
break;
|
||||
}
|
||||
}
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
@ -782,6 +782,7 @@ strip_ctrl_codes (char *s)
|
||||
r = new_r + 1;
|
||||
goto osc_out;
|
||||
}
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
@ -3426,6 +3426,7 @@ edit_execute_cmd (WEdit * edit, long command, int char_for_insertion)
|
||||
edit->column_highlight = 0;
|
||||
edit_mark_cmd (edit, TRUE);
|
||||
}
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
@ -3454,6 +3455,7 @@ edit_execute_cmd (WEdit * edit, long command, int char_for_insertion)
|
||||
case CK_MarkLeft:
|
||||
case CK_MarkRight:
|
||||
edit->force |= REDRAW_CHAR_ONLY;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
@ -3998,6 +4000,7 @@ edit_execute_cmd (WEdit * edit, long command, int char_for_insertion)
|
||||
case CK_DeleteToEnd:
|
||||
format_paragraph (edit, FALSE);
|
||||
edit->force |= REDRAW_PAGE;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
@ -492,6 +492,7 @@ chl_callback (Widget * w, Widget * sender, widget_msg_t msg, int parm, void *dat
|
||||
h->ret_value = parm;
|
||||
dlg_stop (h);
|
||||
}
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
@ -288,6 +288,7 @@ fill_listbox (WListbox * list)
|
||||
case HL_TYPE_DOTDOT:
|
||||
case HL_TYPE_ENTRY:
|
||||
listbox_add_item (list, LISTBOX_APPEND_AT_END, 0, current->label, current, FALSE);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
@ -938,6 +938,7 @@ fish_dir_load (struct vfs_class *me, struct vfs_s_inode *dir, char *remote_path)
|
||||
ST.st_rdev = makedev (maj, min);
|
||||
#endif
|
||||
}
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
@ -354,6 +354,7 @@ mcview_close_datasource (WView * view)
|
||||
break;
|
||||
case DS_STRING:
|
||||
MC_PTR_FREE (view->ds_string_data);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user