fix enum type / values mismatch

Found with PVS-Studio T48917
This commit is contained in:
Mike Erwin 2016-07-21 18:26:54 -04:00
parent 7c99b7110e
commit 9ff8d4a957

@ -1345,7 +1345,7 @@ static int outliner_lib_operation_exec(bContext *C, wmOperator *op)
Scene *scene = CTX_data_scene(C); Scene *scene = CTX_data_scene(C);
SpaceOops *soops = CTX_wm_space_outliner(C); SpaceOops *soops = CTX_wm_space_outliner(C);
int scenelevel = 0, objectlevel = 0, idlevel = 0, datalevel = 0; int scenelevel = 0, objectlevel = 0, idlevel = 0, datalevel = 0;
eOutlinerIdOpTypes event; eOutlinerLibOpTypes event;
/* check for invalid states */ /* check for invalid states */
if (soops == NULL) if (soops == NULL)