Index: /issm/trunk/src/c/objects/Elements/Tria.cpp
===================================================================
--- /issm/trunk/src/c/objects/Elements/Tria.cpp	(revision 5821)
+++ /issm/trunk/src/c/objects/Elements/Tria.cpp	(revision 5822)
@@ -2893,5 +2893,4 @@
 void  Tria::CreateKMatrixDiagnosticMacAyealFriction(Mat Kgg,Mat Kff, Mat Kfs){
 	
-	const int      numdof         = 2 *NUMVERTICES;
 	double        *Ke_gg_friction = NULL;
 	ElementMatrix *Ke             = NULL;
@@ -2901,15 +2900,7 @@
 
 	if(Ke_gg_friction){
-
-		/*Initialize element matrix: */
 		Ke=this->NewElementMatrix(MacAyealApproximationEnum);
-
-		/*Add Ke_gg values to Ke element stifness matrix: */
 		Ke->AddValues(Ke_gg_friction);
-	
-		/*Add Ke element stiffness matrix to global stiffness matrix: */
 		Ke->AddToGlobal(Kgg,Kff,Kfs);
-	
-		/*Free ressources:*/
 		delete Ke;
 	}
