[cig-commits] commit: Fix a compiler warning

Mercurial hg at geodynamics.org
Fri Apr 15 15:56:40 PDT 2011


changeset:   158:9a8edb0b18c9
user:        Walter Landry <wlandry at caltech.edu>
date:        Fri Apr 15 15:55:14 2011 -0700
files:       set_boundary.C
description:
Fix a compiler warning


diff -r 157a9502b063 -r 9a8edb0b18c9 set_boundary.C
--- a/set_boundary.C	Fri Apr 15 15:01:16 2011 -0700
+++ b/set_boundary.C	Fri Apr 15 15:55:14 2011 -0700
@@ -77,8 +77,8 @@ void set_boundary(const SAMRAI::hier::Pa
         {
           pdat::SideIndex x(*si);
 
-          double pos_x=geom->getXLower()[0]
-            + geom->getDx()[0]*(x[0]-pbox.lower()[0]);
+          // double pos_x=geom->getXLower()[0]
+          //   + geom->getDx()[0]*(x[0]-pbox.lower()[0]);
 
           /* Set a sentinel value for normal components */
           if(x[ix]<pbox.lower(ix) && geom->getTouchesRegularBoundary(ix,0))



More information about the CIG-COMMITS mailing list