User: zlochower Date: 2011/08/09 05:08 PM
Modified: /PITTNullCode/NullExact/src/ NullExact_MoLRegister.c /PITTNullCode/NullPsiInt/src/ NullPsiInt_MoLRegister.c, NullPsiInt_dotNewsPsi.F90 /PITTNullCode/SphericalHarmonicRecon/src/util/ ascii_output.c
Log: Fixes for compiler warnings.
File Changes:
Directory: /PITTNullCode/NullExact/src/ =======================================
File [modified]: NullExact_MoLRegister.c Delta lines: +1 -1 =================================================================== --- PITTNullCode/NullExact/src/NullExact_MoLRegister.c 2011-08-09 17:55:57 UTC (rev 54) +++ PITTNullCode/NullExact/src/NullExact_MoLRegister.c 2011-08-09 22:08:32 UTC (rev 55) @@ -39,5 +39,5 @@
if (ierr) CCTK_WARN(0,"Problems registering with MoL");
- return ierr; + /* return ierr; */ }
Directory: /PITTNullCode/NullPsiInt/src/ ========================================
File [modified]: NullPsiInt_MoLRegister.c Delta lines: +1 -1 =================================================================== --- PITTNullCode/NullPsiInt/src/NullPsiInt_MoLRegister.c 2011-08-09 17:55:57 UTC (rev 54) +++ PITTNullCode/NullPsiInt/src/NullPsiInt_MoLRegister.c 2011-08-09 22:08:32 UTC (rev 55) @@ -51,5 +51,5 @@
if (ierr) CCTK_WARN(0,"Problems registering with MoL");
- return ierr; + /* return ierr; */ }
File [modified]: NullPsiInt_dotNewsPsi.F90 Delta lines: +1 -1 =================================================================== --- PITTNullCode/NullPsiInt/src/NullPsiInt_dotNewsPsi.F90 2011-08-09 17:55:57 UTC (rev 54) +++ PITTNullCode/NullPsiInt/src/NullPsiInt_dotNewsPsi.F90 2011-08-09 22:08:32 UTC (rev 55) @@ -6,7 +6,7 @@
subroutine NullPsiInt_dotNewsPsi(CCTK_ARGUMENTS) use cctk - use NullInterp + !use NullInterp use NullGrid_Vars implicit none
Directory: /PITTNullCode/SphericalHarmonicRecon/src/util/ =========================================================
File [modified]: ascii_output.c Delta lines: +2 -2 =================================================================== --- PITTNullCode/SphericalHarmonicRecon/src/util/ascii_output.c 2011-08-09 17:55:57 UTC (rev 54) +++ PITTNullCode/SphericalHarmonicRecon/src/util/ascii_output.c 2011-08-09 22:08:32 UTC (rev 55) @@ -88,6 +88,8 @@ };
int i; + + const int lmax = (int)(sqrt(na)+0.1) - 1;
assert (rC); assert (iC); @@ -101,8 +103,6 @@ goto end; }
- const int lmax = (int)(sqrt(na)+0.1) - 1; - if (l<0 || l > lmax) { fprintf(stderr, "l must be between 0 and %d\n",
commits@lists.einsteintoolkit.org