[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [12217] trunk/blender/source/blender/src/ transform.c: Removed a variable that wasn't really needed
Joshua Leung
aligorith at gmail.com
Sun Oct 7 11:21:28 CEST 2007
Revision: 12217
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=12217
Author: aligorith
Date: 2007-10-07 11:21:28 +0200 (Sun, 07 Oct 2007)
Log Message:
-----------
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)
Modified Paths:
--------------
trunk/blender/source/blender/src/transform.c
Modified: trunk/blender/source/blender/src/transform.c
===================================================================
--- trunk/blender/source/blender/src/transform.c 2007-10-07 09:16:08 UTC (rev 12216)
+++ trunk/blender/source/blender/src/transform.c 2007-10-07 09:21:28 UTC (rev 12217)
@@ -388,9 +388,11 @@
}
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);
else if (context == ACTCONT_SHAPEKEY)
More information about the Bf-blender-cvs
mailing list