← Back to team overview

yade-dev team mailing list archive

[Branch ~yade-dev/yade/trunk] Rev 1843: Fix warnings.

 

------------------------------------------------------------
revno: 1843
committer: Bruno Chareyre <bchareyre@r1arduina>
branch nick: trunk
timestamp: Wed 2009-12-02 14:10:24 +0100
message:
  Fix warnings.
modified:
  pkg/dem/Engine/StandAloneEngine/CohesiveFrictionalContactLaw.cpp


--
lp:yade
https://code.launchpad.net/~yade-dev/yade/trunk

Your team Yade developers is subscribed to branch lp:yade.
To unsubscribe from this branch go to https://code.launchpad.net/~yade-dev/yade/trunk/+edit-subscription.
=== modified file 'pkg/dem/Engine/StandAloneEngine/CohesiveFrictionalContactLaw.cpp'
--- pkg/dem/Engine/StandAloneEngine/CohesiveFrictionalContactLaw.cpp	2009-12-02 12:41:25 +0000
+++ pkg/dem/Engine/StandAloneEngine/CohesiveFrictionalContactLaw.cpp	2009-12-02 13:10:24 +0000
@@ -96,8 +96,8 @@
             if ( !( (*bodies)[id1]->getGroupMask() & (*bodies)[id2]->getGroupMask() & sdecGroupMask)  )
                 continue; // skip other groups,
 
-	    CohesiveFrictionalBodyParameters* de1 			= YADE_CAST<CohesiveFrictionalBodyParameters*>((*bodies)[id1]->material.get());
-	    CohesiveFrictionalBodyParameters* de2 			= YADE_CAST<CohesiveFrictionalBodyParameters*>((*bodies)[id2]->material.get());
+	   // CohesiveFrictionalBodyParameters* de1 			= YADE_CAST<CohesiveFrictionalBodyParameters*>((*bodies)[id1]->material.get());
+	   // CohesiveFrictionalBodyParameters* de2 			= YADE_CAST<CohesiveFrictionalBodyParameters*>((*bodies)[id2]->material.get());
 	    
 	    Body* b1 = (*bodies)[id1].get();
 	    Body* b2 = (*bodies)[id2].get();