Cleanup: style
authorCampbell Barton <ideasman42@gmail.com>
Fri, 2 Oct 2015 22:22:48 +0000 (08:22 +1000)
committerCampbell Barton <ideasman42@gmail.com>
Fri, 2 Oct 2015 22:22:48 +0000 (08:22 +1000)
source/blender/editors/interface/interface_handlers.c
source/blender/editors/space_file/filelist.c

index a9df9281aeed83c944b579b45af0f8fbe94b98f8..85b3f11c44effcb295970dbafe0768697e931023 100644 (file)
@@ -6708,12 +6708,12 @@ static bool ui_but_menu(bContext *C, uiBut *but)
 
                                but2 = uiDefIconTextBut(block, UI_BTYPE_BUT, 0, ICON_NONE,
                                                        CTX_IFACE_(BLT_I18NCONTEXT_OPERATOR_DEFAULT, "Change Shortcut"),
-                                                                               0, 0, w, UI_UNIT_Y, NULL, 0, 0, 0, 0, "");
+                                                       0, 0, w, UI_UNIT_Y, NULL, 0, 0, 0, 0, "");
                                UI_but_func_set(but2, popup_change_shortcut_func, but, NULL);
 
                                but2 = uiDefIconTextBut(block, UI_BTYPE_BUT, 0, ICON_NONE,
                                                        CTX_IFACE_(BLT_I18NCONTEXT_OPERATOR_DEFAULT, "Remove Shortcut"),
-                                                                               0, 0, w, UI_UNIT_Y, NULL, 0, 0, 0, 0, "");
+                                                       0, 0, w, UI_UNIT_Y, NULL, 0, 0, 0, 0, "");
                                UI_but_func_set(but2, remove_shortcut_func, but, NULL);
                        }
                        else {
index 1b5987d090114494d9fbc84d6a3eb99c15fdfa28..56c48b7f650df4ea796633cfbe2a37bebc96a950 100644 (file)
@@ -532,6 +532,7 @@ void filelist_sort(struct FileList *filelist)
                        case FILE_SORT_NONE:  /* Should never reach this point! */
                        default:
                                BLI_assert(0);
+                               break;
                }
 
                filelist_filter_clear(filelist);