Revision: 18506
          
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=18506
Author:   nicholasbishop
Date:     2009-01-14 18:36:13 +0100 (Wed, 14 Jan 2009)

Log Message:
-----------
Removed a second declaration for BLI_uniquename.
Also supressed cmake/gcc warnings about unused parameters since these are 
everywhere (sometimes with good reason, for callbacks)

Modified Paths:
--------------
    branches/blender2.5/blender/CMakeLists.txt
    branches/blender2.5/blender/source/blender/blenlib/BLI_listbase.h

Modified: branches/blender2.5/blender/CMakeLists.txt
===================================================================
--- branches/blender2.5/blender/CMakeLists.txt  2009-01-14 17:22:30 UTC (rev 
18505)
+++ branches/blender2.5/blender/CMakeLists.txt  2009-01-14 17:36:13 UTC (rev 
18506)
@@ -197,7 +197,7 @@
   SET(PLATFORM_LINKFLAGS "-pthread")
 
   # Better warnings
-  SET(C_WARNINGS "-Wall -Wno-char-subscripts -W -Wshadow -Wpointer-arith 
-Wbad-function-cast -Wcast-qual -Wcast-align -Waggregate-return 
-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations 
-Wnested-externs -Wredundant-decls -Wdeclaration-after-statement")
+  SET(C_WARNINGS "-Wall -Wno-char-subscripts -W -Wshadow -Wpointer-arith 
-Wbad-function-cast -Wcast-qual -Wcast-align -Waggregate-return 
-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations 
-Wnested-externs -Wredundant-decls -Wdeclaration-after-statement 
-Wno-unused-parameter")
 
   INCLUDE_DIRECTORIES(/usr/include /usr/local/include)
 ENDIF(UNIX)

Modified: branches/blender2.5/blender/source/blender/blenlib/BLI_listbase.h
===================================================================
--- branches/blender2.5/blender/source/blender/blenlib/BLI_listbase.h   
2009-01-14 17:22:30 UTC (rev 18505)
+++ branches/blender2.5/blender/source/blender/blenlib/BLI_listbase.h   
2009-01-14 17:36:13 UTC (rev 18506)
@@ -46,7 +46,6 @@
 void BLI_freelistN(struct ListBase *listbase);
 void BLI_addtail(struct ListBase *listbase, void *vlink);
 void BLI_remlink(struct ListBase *listbase, void *vlink);
-void BLI_uniquename(struct ListBase *list, void *vlink, char defname[], short 
name_offs, short len);
 
 void BLI_addhead(struct ListBase *listbase, void *vlink);
 void BLI_insertlinkbefore(struct ListBase *listbase, void *vnextlink, void 
*vnewlink);


_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to