forked from bartvdbraak/blender
Variable declaration in code, not allowed!
Also made it NULL, looks nicer than 0 ;)
This commit is contained in:
parent
d01054da0f
commit
49102a84d1
@ -2557,11 +2557,11 @@ static int sequencer_rendersize_exec(bContext *C, wmOperator *UNUSED(op))
|
||||
int retval = OPERATOR_CANCELLED;
|
||||
Scene *scene= CTX_data_scene(C);
|
||||
Sequence *active_seq = seq_active_get(scene);
|
||||
StripElem *se = NULL;
|
||||
|
||||
if(active_seq==NULL)
|
||||
return OPERATOR_CANCELLED;
|
||||
|
||||
StripElem * se = 0;
|
||||
|
||||
if (active_seq->strip) {
|
||||
switch (active_seq->type) {
|
||||
|
Loading…
Reference in New Issue
Block a user