[cig-commits] commit: some cleaning for compilers

Mercurial hg at geodynamics.org
Mon Feb 1 15:31:36 PST 2010


changeset:   365:6030236ba072
branch:      pcu_rejig
user:        JulianGiordani
date:        Tue Dec 15 17:00:52 2009 +1100
files:       MaterialPoints/src/BackgroundParticleLayout.c
description:
some cleaning for compilers


diff -r 648062320aea -r 6030236ba072 MaterialPoints/src/BackgroundParticleLayout.c
--- a/MaterialPoints/src/BackgroundParticleLayout.c	Mon Dec 14 17:51:20 2009 +1100
+++ b/MaterialPoints/src/BackgroundParticleLayout.c	Tue Dec 15 17:00:52 2009 +1100
@@ -57,6 +57,7 @@ BackgroundParticleLayout* BackgroundPart
    _ParticleLayout_Init( self, context, coordSystem, weightsInitialisedAtStartup );
    _BackgroundParticleLayout_Init( self );
    self->isConstructed = True;
+   return self;
 }
 BackgroundParticleLayout* _BackgroundParticleLayout_New(  BACKGROUNDPARTICLELAYOUT_DEFARGS  )
 {
@@ -128,7 +129,7 @@ void  _BackgroundParticleLayout_AssignFr
 
    _ParticleLayout_AssignFromXML( self, cf, data );
 
-   _BackgroundParticleLayout_Init( component );
+   _BackgroundParticleLayout_Init( self );
 }
 
 void  _BackgroundParticleLayout_Build( void* component, void* data ) {}



More information about the CIG-COMMITS mailing list