[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [46054] branches/soc-2008-mxcurioni/source /blender/freestyle/intern/view_map/Silhouette.h: Suppressed " unused but set variable" warnings.

Tamito Kajiyama rd6t-kjym at asahi-net.or.jp
Sun Apr 29 02:19:08 CEST 2012


Revision: 46054
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=46054
Author:   kjym3
Date:     2012-04-29 00:19:05 +0000 (Sun, 29 Apr 2012)
Log Message:
-----------
Suppressed "unused but set variable" warnings.

Modified Paths:
--------------
    branches/soc-2008-mxcurioni/source/blender/freestyle/intern/view_map/Silhouette.h

Modified: branches/soc-2008-mxcurioni/source/blender/freestyle/intern/view_map/Silhouette.h
===================================================================
--- branches/soc-2008-mxcurioni/source/blender/freestyle/intern/view_map/Silhouette.h	2012-04-28 23:40:38 UTC (rev 46053)
+++ branches/soc-2008-mxcurioni/source/blender/freestyle/intern/view_map/Silhouette.h	2012-04-29 00:19:05 UTC (rev 46054)
@@ -1196,7 +1196,6 @@
     Vec3r B = ioB->point3D();
     Vec3r a = ioA->point2D();
     Vec3r b = ioB->point2D();
-    SVertex *svA, *svB;
 
     Vec3r newpoint3d,newpoint2d;
     vector<SVertex*> intersections;
@@ -1231,8 +1230,8 @@
     sv!=svend;
     sv++)
     {
-      svA = fe->vertexA();
-      svB = fe->vertexB();
+      //SVertex *svA = fe->vertexA();
+      SVertex *svB = fe->vertexB();
         
       // We split edge AB into AA' and A'B. A' and A'B are created.
       // AB becomes (address speaking) AA'. B is updated.




More information about the Bf-blender-cvs mailing list