[cig-commits] commit: Fix compile errors when not using hdf5

Mercurial hg at geodynamics.org
Fri May 13 12:03:16 PDT 2011


changeset:   785:e3e9a7ff23ba
tag:         tip
user:        Walter Landry <wlandry at caltech.edu>
date:        Fri May 13 12:01:16 2011 -0700
files:       Discretisation/src/FeVariable.cxx
description:
Fix compile errors when not using hdf5


diff -r 46408d74ad35 -r e3e9a7ff23ba Discretisation/src/FeVariable.cxx
--- a/Discretisation/src/FeVariable.cxx	Thu May 12 11:19:05 2011 -0700
+++ b/Discretisation/src/FeVariable.cxx	Fri May 13 12:01:16 2011 -0700
@@ -2418,7 +2418,7 @@ void FeVariable_ReadFromFile( void* feVa
 			 * doesn't get re-opened at the start automatically. */
 			inputFile = fopen( filename, "r" );
 
-			if ( False == inputFile ) {
+			if ( NULL == inputFile ) {
 				Journal_Firewall( 0, errorStr, "Error- in %s(), for feVariable \"%s\": Couldn't import from file: "
 					"\"%s\" - aborting.\n", __func__, self->name, filename );
 					



More information about the CIG-COMMITS mailing list