diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-08-11 03:27:42 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-08-11 03:27:42 +0400 |
commit | a62163ada389a18d11f0c085654916e2ef069a46 (patch) | |
tree | be748d747828c3f0647b176b6408d9dd7b5875e8 /source | |
parent | 76cb6829e50b53211858b514f290881872a43d45 (diff) |
remove unused auto-key struct-member from uiAfterFunc, add compiler defines to cppcheck utility script.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/interface/interface_handlers.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/interface/interface_handlers.c b/source/blender/editors/interface/interface_handlers.c index 622559cd30f..f9ee2b67e6b 100644 --- a/source/blender/editors/interface/interface_handlers.c +++ b/source/blender/editors/interface/interface_handlers.c @@ -228,10 +228,10 @@ typedef struct uiAfterFunc { bContextStore *context; char undostr[BKE_UNDO_STR_MAX]; - - int autokey; } uiAfterFunc; + + static bool ui_but_contains_pt(uiBut *but, int mx, int my); static bool ui_mouse_inside_button(ARegion *ar, uiBut *but, int x, int y); static void button_activate_state(bContext *C, uiBut *but, uiHandleButtonState state); |