Removed a variable that wasn't really needed

(Note: gcc doesn't give any more compile warnings about the new code here, but other compilers may)
This commit is contained in:
Joshua Leung
2007-10-07 09:21:28 +00:00
parent 36ebd78cfd
commit d6c4abb56f

View File

@@ -388,8 +388,10 @@ static void viewRedrawForce(TransInfo *t)
}
else if (t->spacetype == SPACE_ACTION) {
if (G.saction->lock) {
short context= 0;
void *data= get_action_context(&context);
short context;
/* we ignore the pointer this function returns (not needed) */
get_action_context(&context);
if (context == ACTCONT_ACTION)
force_draw_plus(SPACE_VIEW3D, 0);