X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fnetradiant.git;a=blobdiff_plain;f=libs%2Fsplines%2Fsplines.cpp;h=901b4f2c819f6d9373f57de94fe18e5f728e3b50;hp=940b938b65f5f8e39ab743eabcf0f2f0528dacd2;hb=81ab1fe02f887ccf43e1755ed44811ff4fd693c3;hpb=f3662c4c8981842c0c9a74d4cd373c431f42852e diff --git a/libs/splines/splines.cpp b/libs/splines/splines.cpp index 940b938b..901b4f2c 100644 --- a/libs/splines/splines.cpp +++ b/libs/splines/splines.cpp @@ -1167,7 +1167,7 @@ void idFixedPosition::parse( const char *( *text ) ) { Com_UngetToken(); idStr key = Com_ParseOnLine( text ); - const char *token = Com_Parse( text ); + Com_Parse( text ); if ( Q_stricmp( key.c_str(), "pos" ) == 0 ) { Com_UngetToken(); Com_Parse1DMatrix( text, 3, pos ); @@ -1176,7 +1176,7 @@ void idFixedPosition::parse( const char *( *text ) ) { Com_UngetToken(); idCameraPosition::parseToken( key.c_str(), text ); } - token = Com_Parse( text ); + Com_Parse( text ); } while ( 1 ); @@ -1213,7 +1213,7 @@ void idInterpolatedPosition::parse( const char *( *text ) ) { Com_UngetToken(); idStr key = Com_ParseOnLine( text ); - const char *token = Com_Parse( text ); + Com_Parse( text ); if ( Q_stricmp( key.c_str(), "startPos" ) == 0 ) { Com_UngetToken(); Com_Parse1DMatrix( text, 3, startPos ); @@ -1226,7 +1226,7 @@ void idInterpolatedPosition::parse( const char *( *text ) ) { Com_UngetToken(); idCameraPosition::parseToken( key.c_str(), text ); } - token = Com_Parse( text ); + Com_Parse( text ); } while ( 1 ); @@ -1264,7 +1264,7 @@ void idSplinePosition::parse( const char *( *text ) ) { Com_UngetToken(); idStr key = Com_ParseOnLine( text ); - const char *token = Com_Parse( text ); + Com_Parse( text ); if ( Q_stricmp( key.c_str(), "target" ) == 0 ) { target.parse( text ); } @@ -1272,7 +1272,7 @@ void idSplinePosition::parse( const char *( *text ) ) { Com_UngetToken(); idCameraPosition::parseToken( key.c_str(), text ); } - token = Com_Parse( text ); + Com_Parse( text ); } while ( 1 );