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:
Andreas Mohr 2020-12-05 11:51:30 +00:00 committed by Andrew Borodin
parent 3d4d6dbb41
commit 57f5ab7c23
7 changed files with 9 additions and 0 deletions

View File

@ -176,6 +176,7 @@ xstrtoumax (const char *s, char **ptr, int base, uintmax_t * val, const char *va
break;
}
}
break;
default:
break;
}

View File

@ -782,6 +782,7 @@ strip_ctrl_codes (char *s)
r = new_r + 1;
goto osc_out;
}
break;
default:
break;
}

View File

@ -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;
}

View File

@ -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;
}

View File

@ -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;
}

View File

@ -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;
}

View File

@ -354,6 +354,7 @@ mcview_close_datasource (WView * view)
break;
case DS_STRING:
MC_PTR_FREE (view->ds_string_data);
break;
default:
break;
}