Code cleanup: fix a few compiler warnings.
This commit is contained in:
parent
6bd53cb541
commit
7990105407
|
@ -166,7 +166,7 @@ string ComponentDepsNode::identifier() const
|
|||
|
||||
OperationDepsNode *ComponentDepsNode::find_operation(OperationIDKey key) const
|
||||
{
|
||||
OperationDepsNode *node;
|
||||
OperationDepsNode *node = NULL;
|
||||
if (operations_map != NULL) {
|
||||
node = (OperationDepsNode *)BLI_ghash_lookup(operations_map, &key);
|
||||
}
|
||||
|
|
|
@ -2082,7 +2082,7 @@ static int viewzoom_modal(bContext *C, wmOperator *op, const wmEvent *event)
|
|||
viewzoom_apply(
|
||||
vod, &event->x, U.viewzoom,
|
||||
(U.uiflag & USER_ZOOM_INVERT) != 0,
|
||||
(use_mouse_init && (U.uiflag & USER_ZOOM_TO_MOUSEPOS)) ? vod->prev.event_xy : NULL);
|
||||
(use_mouse_init && (U.uiflag & USER_ZOOM_TO_MOUSEPOS)));
|
||||
if (ED_screen_animation_playing(CTX_wm_manager(C))) {
|
||||
use_autokey = true;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue