Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Leung <aligorith@gmail.com>2007-10-07 13:21:28 +0400
committerJoshua Leung <aligorith@gmail.com>2007-10-07 13:21:28 +0400
commitd6c4abb56fe5e0e899a04e9911260f718373ba52 (patch)
tree7becdd42bed359c3ec06911ed740982a7b26932d /source/blender/src/transform.c
parent36ebd78cfdb4d8fa884f2b40a242966eb31e0ef6 (diff)
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)
Diffstat (limited to 'source/blender/src/transform.c')
-rw-r--r--source/blender/src/transform.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/source/blender/src/transform.c b/source/blender/src/transform.c
index fe2dd4a359a..a3f558ec20b 100644
--- a/source/blender/src/transform.c
+++ b/source/blender/src/transform.c
@@ -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);