[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [55406] branches/soc-2008-mxcurioni/source /blender/freestyle/intern: quiet warnings by making undeclared vars static

Campbell Barton ideasman42 at gmail.com
Tue Mar 19 11:07:23 CET 2013


Revision: 55406
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=55406
Author:   campbellbarton
Date:     2013-03-19 10:07:23 +0000 (Tue, 19 Mar 2013)
Log Message:
-----------
quiet warnings by making undeclared vars static

Modified Paths:
--------------
    branches/soc-2008-mxcurioni/source/blender/freestyle/intern/blender_interface/FRS_freestyle.cpp
    branches/soc-2008-mxcurioni/source/blender/freestyle/intern/python/BPy_Nature.cpp
    branches/soc-2008-mxcurioni/source/blender/freestyle/intern/view_map/ViewMapIO.cpp

Modified: branches/soc-2008-mxcurioni/source/blender/freestyle/intern/blender_interface/FRS_freestyle.cpp
===================================================================
--- branches/soc-2008-mxcurioni/source/blender/freestyle/intern/blender_interface/FRS_freestyle.cpp	2013-03-19 10:03:52 UTC (rev 55405)
+++ branches/soc-2008-mxcurioni/source/blender/freestyle/intern/blender_interface/FRS_freestyle.cpp	2013-03-19 10:07:23 UTC (rev 55406)
@@ -93,7 +93,7 @@
 // current scene
 Scene *freestyle_scene;
 
-string default_module_path;
+static string default_module_path;
 
 // function declarations
 static void copy_lineset(FreestyleLineSet *new_lineset, FreestyleLineSet *lineset);

Modified: branches/soc-2008-mxcurioni/source/blender/freestyle/intern/python/BPy_Nature.cpp
===================================================================
--- branches/soc-2008-mxcurioni/source/blender/freestyle/intern/python/BPy_Nature.cpp	2013-03-19 10:03:52 UTC (rev 55405)
+++ branches/soc-2008-mxcurioni/source/blender/freestyle/intern/python/BPy_Nature.cpp	2013-03-19 10:07:23 UTC (rev 55406)
@@ -46,7 +46,7 @@
 
 /*-----------------------BPy_Nature number method definitions --------------------*/
 
-PyNumberMethods nature_as_number = {
+static PyNumberMethods nature_as_number = {
 	0,                              /* binaryfunc nb_add */
 	0,                              /* binaryfunc nb_subtract */
 	0,                              /* binaryfunc nb_multiply */

Modified: branches/soc-2008-mxcurioni/source/blender/freestyle/intern/view_map/ViewMapIO.cpp
===================================================================
--- branches/soc-2008-mxcurioni/source/blender/freestyle/intern/view_map/ViewMapIO.cpp	2013-03-19 10:03:52 UTC (rev 55405)
+++ branches/soc-2008-mxcurioni/source/blender/freestyle/intern/view_map/ViewMapIO.cpp	2013-03-19 10:07:23 UTC (rev 55406)
@@ -63,7 +63,7 @@
 
 namespace Internal {
 
-ViewMap *g_vm;
+static ViewMap *g_vm;
 
 //////////////////// 'load' Functions ////////////////////
 




More information about the Bf-blender-cvs mailing list