[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [50659] trunk/blender/intern/itasc/kdl/ utilities/utility_io.cpp: Fix some warnings treated as errors here.

Sergey Sharybin sergey.vfx at gmail.com
Sun Sep 16 14:33:39 CEST 2012


Revision: 50659
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=50659
Author:   nazgul
Date:     2012-09-16 12:33:39 +0000 (Sun, 16 Sep 2012)
Log Message:
-----------
Fix some warnings treated as errors here.

Modified Paths:
--------------
    trunk/blender/intern/itasc/kdl/utilities/utility_io.cpp

Modified: trunk/blender/intern/itasc/kdl/utilities/utility_io.cpp
===================================================================
--- trunk/blender/intern/itasc/kdl/utilities/utility_io.cpp	2012-09-16 12:24:54 UTC (rev 50658)
+++ trunk/blender/intern/itasc/kdl/utilities/utility_io.cpp	2012-09-16 12:33:39 UTC (rev 50659)
@@ -39,7 +39,7 @@
             }
     }
 // Eats until the end of the line
-	int _EatUntilEndOfLine( std::istream& is, int* countp=NULL) {
+static int _EatUntilEndOfLine( std::istream& is, int* countp=NULL) {
     int ch;
     int count;
     count = 0;
@@ -53,7 +53,7 @@
 }
 
 // Eats until the end of the comment
-	int _EatUntilEndOfComment( std::istream& is, int* countp=NULL) {
+static int _EatUntilEndOfComment( std::istream& is, int* countp=NULL) {
     int ch;
     int count;
     count = 0;
@@ -75,7 +75,7 @@
 
 // Eats space-like characters and comments
 // possibly returns the number of space-like characters eaten.
-int _EatSpace( std::istream& is,int* countp=NULL) {
+static int _EatSpace( std::istream& is,int* countp=NULL) {
     int ch;
     int count;
     count=-1;




More information about the Bf-blender-cvs mailing list