quiet warnings by making undeclared vars static
authorCampbell Barton <ideasman42@gmail.com>
Tue, 19 Mar 2013 10:07:23 +0000 (10:07 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Tue, 19 Mar 2013 10:07:23 +0000 (10:07 +0000)
source/blender/freestyle/intern/blender_interface/FRS_freestyle.cpp
source/blender/freestyle/intern/python/BPy_Nature.cpp
source/blender/freestyle/intern/view_map/ViewMapIO.cpp

index f6f97bda1bf1eb2b03a9dfd414d14b58e380d374..bbfcfbfa13dacccbd67b1fe6bc3951155c9715b0 100644 (file)
@@ -93,7 +93,7 @@ int freestyle_viewport[4];
 // 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);
index b654525ea1655ea1b1284b5e1799af0464988454..8336206efb5fcc160f8e9135fb70090756ff1bc8 100644 (file)
@@ -46,7 +46,7 @@ static int BPy_Nature_bool(PyObject *v);
 
 /*-----------------------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 */
index 33daf5a7886005085dcc69188b0699ab3584950b..2e94a84861d500ac2d04dd99bda0e4cfe0f2238e 100644 (file)
@@ -63,7 +63,7 @@ namespace ViewMapIO {
 
 namespace Internal {
 
-ViewMap *g_vm;
+static ViewMap *g_vm;
 
 //////////////////// 'load' Functions ////////////////////