[cig-commits] commit: Fix compiler warning
Mercurial
hg at geodynamics.org
Thu Sep 29 01:09:04 PDT 2011
changeset: 615:e1921a10f334
tag: tip
user: Walter Landry <wlandry at caltech.edu>
date: Thu Sep 29 01:07:30 2011 -0700
files: Swarm/src/SwarmClass.cxx
description:
Fix compiler warning
diff -r 9ad7ad00686d -r e1921a10f334 Swarm/src/SwarmClass.cxx
--- a/Swarm/src/SwarmClass.cxx Tue Sep 27 15:20:58 2011 -0700
+++ b/Swarm/src/SwarmClass.cxx Thu Sep 29 01:07:30 2011 -0700
@@ -572,7 +572,6 @@ void _Swarm_AssignFromXML( void* swarm,
double extraParticlesFactor = 0.0;
Particle_InCellIndex cellParticleTblDelta = 0;
Dimension_Index dim;
- Type particleType;
Variable_Register* variable_Register = NULL;
VariableCondition* ic = NULL;
@@ -581,8 +580,6 @@ void _Swarm_AssignFromXML( void* swarm,
context = Stg_ComponentFactory_ConstructByName( cf, (Name)"context", AbstractContext, True, data );
dim = Stg_ComponentFactory_GetRootDictUnsignedInt( cf, (Dictionary_Entry_Key)"dim", 0 );
-
- particleType = Stg_ComponentFactory_GetString( cf, self->name, (Dictionary_Entry_Key)"ParticleType", IntegrationPoint_Type );
cellLayout = Stg_ComponentFactory_ConstructByKey( cf, self->name, (Dictionary_Entry_Key)CellLayout_Type, CellLayout, True, data ) ;
particleLayout = Stg_ComponentFactory_ConstructByKey( cf, self->name, (Dictionary_Entry_Key)ParticleLayout_Type, ParticleLayout, True, data );
More information about the CIG-COMMITS
mailing list