Variable declaration in code, not allowed!

Also made it NULL, looks nicer than 0 ;)
This commit is contained in:
Ton Roosendaal 2010-11-28 18:54:43 +00:00
parent d01054da0f
commit 49102a84d1

@ -2557,11 +2557,11 @@ static int sequencer_rendersize_exec(bContext *C, wmOperator *UNUSED(op))
int retval = OPERATOR_CANCELLED; int retval = OPERATOR_CANCELLED;
Scene *scene= CTX_data_scene(C); Scene *scene= CTX_data_scene(C);
Sequence *active_seq = seq_active_get(scene); Sequence *active_seq = seq_active_get(scene);
StripElem *se = NULL;
if(active_seq==NULL) if(active_seq==NULL)
return OPERATOR_CANCELLED; return OPERATOR_CANCELLED;
StripElem * se = 0;
if (active_seq->strip) { if (active_seq->strip) {
switch (active_seq->type) { switch (active_seq->type) {