diff options
author | eschnett <eschnett@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2013-10-10 14:27:03 +0000 |
---|---|---|
committer | eschnett <eschnett@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2013-10-10 14:27:03 +0000 |
commit | c0cc65109b46407b421f786c4a7dc729a5430915 (patch) | |
tree | 7587c7d4e64952b83c7ed5849951c40750e97821 /src | |
parent | f538c10d0f3871e8b0d6074042b3de405bffce98 (diff) |
Reformat routine
git-svn-id: http://svn.cactuscode.org/flesh/trunk@5045 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src')
-rw-r--r-- | src/main/ProcessEnvironment.c | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/src/main/ProcessEnvironment.c b/src/main/ProcessEnvironment.c index 97ec4e2e..b67f97d7 100644 --- a/src/main/ProcessEnvironment.c +++ b/src/main/ProcessEnvironment.c @@ -110,24 +110,20 @@ char MPI_Active = 0; @endreturndesc @@*/ -int CCTKi_ProcessEnvironment(int *argc, char ***argv,tFleshConfig *ConfigData) +int CCTKi_ProcessEnvironment(int *argc, char ***argv, tFleshConfig *ConfigData) { - /* avoid compiler warning about unused argument */ + /* avoid compiler warnings about unused arguments */ + argc = argc; + argv = argv; ConfigData = ConfigData; - - /* Check if MPI compiled in but choosing not to use MPI. */ + /* Check if MPI compiled in but choosing not to use MPI. */ #ifdef CCTK_MPI - if(!getenv("CACTUS_NOMPI")) + if (!getenv("CACTUS_NOMPI")) { MPI_Active = 1; - CACTUS_MPI_ERROR(MPI_Init(argc, argv)); - } -#else - argc = argc; - argv = argv; #endif return 0; |