[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [18181] branches/blender2.5/blender/source /blender/editors/mesh/editmesh.c: 2.5

Ton Roosendaal ton at blender.org
Tue Dec 30 20:24:12 CET 2008


Revision: 18181
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=18181
Author:   ton
Date:     2008-12-30 20:24:09 +0100 (Tue, 30 Dec 2008)

Log Message:
-----------
2.5

Fixed warning in previous commit that's error in newer gcc,
apparently :)

Modified Paths:
--------------
    branches/blender2.5/blender/source/blender/editors/mesh/editmesh.c

Modified: branches/blender2.5/blender/source/blender/editors/mesh/editmesh.c
===================================================================
--- branches/blender2.5/blender/source/blender/editors/mesh/editmesh.c	2008-12-30 19:13:24 UTC (rev 18180)
+++ branches/blender2.5/blender/source/blender/editors/mesh/editmesh.c	2008-12-30 19:24:09 UTC (rev 18181)
@@ -96,7 +96,6 @@
 static void error() {}
 static int pupmenu() {return 0;}
 static void key_to_mesh() {}
-static void undo_editmode_clear() {}
 static int multires_test() {return 0;}
 static void adduplicate() {}
 
@@ -1862,8 +1861,10 @@
 	MEM_freeN(um);
 }
 
-static void *editMesh_to_undoMesh(Scene *scene, EditMesh *em)
+static void *editMesh_to_undoMesh(void)
 {
+	EditMesh *em= NULL; // XXX
+	Scene *scene= NULL;
 	UndoMesh *um;
 	EditVert *eve;
 	EditEdge *eed;
@@ -1979,8 +1980,9 @@
 	return um;
 }
 
-static void undoMesh_to_editMesh(void *umv, EditMesh *em)
+static void undoMesh_to_editMesh(void *umv)
 {
+	EditMesh *em= NULL; // XXX
 	UndoMesh *um= (UndoMesh*)umv;
 	EditVert *eve, **evar=NULL;
 	EditEdge *eed;





More information about the Bf-blender-cvs mailing list