diff options
Diffstat (limited to 'src/CheckpointRecovery.c')
-rw-r--r-- | src/CheckpointRecovery.c | 22 |
1 files changed, 1 insertions, 21 deletions
diff --git a/src/CheckpointRecovery.c b/src/CheckpointRecovery.c index 7f9fd78..3e96edb 100644 --- a/src/CheckpointRecovery.c +++ b/src/CheckpointRecovery.c @@ -543,21 +543,9 @@ int IOUtil_RecoverParameters (int (*recoverFn) (cGH *GH, struct dirent *file; filelist_t *filelist, *tmp; #endif - static int first_time_called = 1; - - - /* FIXME: this can go in BETA12 */ - if (first_time_called) - { - extern int IOUtil_FixRecoveryParameters (void); - IOUtil_FixRecoveryParameters (); - first_time_called = 0; - } -{ - /* need to move this after IOUtil_FixRecoveryParameters() so that the new - parameter settings are taken */ DECLARE_CCTK_PARAMETERS + if (CCTK_Equals (recover, "auto") || CCTK_Equals (recover, "autoprobe")) { #ifdef HAVE_DIRENT_H @@ -702,14 +690,6 @@ int IOUtil_RecoverParameters (int (*recoverFn) (cGH *GH, IOUtil_RecoverGH() */ checkpoint_file_exists = retval > 0; - /* FIXME: this can go in BETA12 */ - if (retval > 0) - { - extern int IOUtil_FixParameters (void); - IOUtil_FixParameters (); - } -} - return (retval); } |