[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [11395] trunk/blender/source/blender/ render/intern/source/raytrace.c: Remove spurious "; " in declaration, which causes warning in gcc and MSVC.

Ken Hughes khughes at pacific.edu
Fri Jul 27 20:29:58 CEST 2007


Revision: 11395
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=11395
Author:   khughes
Date:     2007-07-27 20:29:58 +0200 (Fri, 27 Jul 2007)

Log Message:
-----------
Remove spurious ";" in declaration, which causes warning in gcc and MSVC.  Thanks Levi for catching this.

Modified Paths:
--------------
    trunk/blender/source/blender/render/intern/source/raytrace.c

Modified: trunk/blender/source/blender/render/intern/source/raytrace.c
===================================================================
--- trunk/blender/source/blender/render/intern/source/raytrace.c	2007-07-27 17:45:30 UTC (rev 11394)
+++ trunk/blender/source/blender/render/intern/source/raytrace.c	2007-07-27 18:29:58 UTC (rev 11395)
@@ -1,5 +1,5 @@
 /**
- * $Id$
+ * $Id: $
  *
  * ***** BEGIN GPL LICENSE BLOCK *****
  *
@@ -488,7 +488,7 @@
 
 void RE_ray_tree_add_face(RayTree *tree, RayFace *face)
 {
-	Octree *oc = (Octree*)tree;;
+	Octree *oc = (Octree*)tree;
 	float *v1, *v2, *v3, *v4, ocfac[3], rtf[4][3];
 	short rts[4][3], ocmin[6], *ocmax;
 	char *ocface= oc->ocface;	// front, top, size view of face, to fill in





More information about the Bf-blender-cvs mailing list