[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [61113] trunk/blender: code cleanup: quiet warnings

Campbell Barton ideasman42 at gmail.com
Tue Nov 5 05:32:51 CET 2013


Revision: 61113
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=61113
Author:   campbellbarton
Date:     2013-11-05 04:32:51 +0000 (Tue, 05 Nov 2013)
Log Message:
-----------
code cleanup: quiet warnings

Modified Paths:
--------------
    trunk/blender/intern/rigidbody/CMakeLists.txt
    trunk/blender/source/blender/makesrna/intern/rna_fcurve.c

Modified: trunk/blender/intern/rigidbody/CMakeLists.txt
===================================================================
--- trunk/blender/intern/rigidbody/CMakeLists.txt	2013-11-05 04:23:46 UTC (rev 61112)
+++ trunk/blender/intern/rigidbody/CMakeLists.txt	2013-11-05 04:32:51 UTC (rev 61113)
@@ -26,7 +26,7 @@
 )
 
 set(INC_SYS
-	../../extern/bullet2/src
+	${BULLET_INCLUDE_DIRS}
 )
 
 set(SRC

Modified: trunk/blender/source/blender/makesrna/intern/rna_fcurve.c
===================================================================
--- trunk/blender/source/blender/makesrna/intern/rna_fcurve.c	2013-11-05 04:23:46 UTC (rev 61112)
+++ trunk/blender/source/blender/makesrna/intern/rna_fcurve.c	2013-11-05 04:32:51 UTC (rev 61113)
@@ -486,9 +486,9 @@
 }
 
 static void rna_FModifier_start_frame_range(PointerRNA *ptr, float *min, float *max,
-                                            float *softmin, float *softmax)
+                                            float *UNUSED(softmin), float *UNUSED(softmax))
 {
-	FModifier *fcm = (FModifier *)ptr->data;
+	// FModifier *fcm = (FModifier *)ptr->data;
 	
 	/* Technically, "sfra <= efra" must hold; however, we can't strictly enforce that, 
 	 * or else it becomes tricky to adjust the range...  [#36844] 
@@ -618,7 +618,7 @@
                                            float *UNUSED(softmin), float *UNUSED(softmax))
 {
 	FModifier *fcm = (FModifier *)ptr->data;
-	FMod_Limits *data = fcm->data;
+	// FMod_Limits *data = fcm->data;
 	
 	/* no soft-limits on lower bound - it's too confusing when you can't easily use the slider to set things here */
 	*min     = MINAFRAMEF;
@@ -642,7 +642,7 @@
                                            float *softmin, float *softmax)
 {
 	FModifier *fcm = (FModifier *)ptr->data;
-	FMod_Limits *data = fcm->data;
+	// FMod_Limits *data = fcm->data;
 	
 	/* no soft-limits on lower bound - it's too confusing when you can't easily use the slider to set things here */
 	*min     = -FLT_MAX;




More information about the Bf-blender-cvs mailing list