diff options
author | tradke <tradke@b589c3ab-70e8-4b4d-a09f-cba2dd200880> | 2000-01-17 15:10:35 +0000 |
---|---|---|
committer | tradke <tradke@b589c3ab-70e8-4b4d-a09f-cba2dd200880> | 2000-01-17 15:10:35 +0000 |
commit | 6484e89cae2cb585c91e2ea61d5139d2407e00c1 (patch) | |
tree | d2afb96cb4caa7683ea8840b741f8ae06d65cecf /src | |
parent | 5679b66909f40aa95a84a5bcdaf4d85b4937bdba (diff) |
Removed warning when using an invalid out_style setting.
This is already fixed by declaring it as a KEYWORD parameter.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOBasic/trunk@25 b589c3ab-70e8-4b4d-a09f-cba2dd200880
Diffstat (limited to 'src')
-rw-r--r-- | src/Write.c | 7 | ||||
-rw-r--r-- | src/WriteGF.c | 7 |
2 files changed, 4 insertions, 10 deletions
diff --git a/src/Write.c b/src/Write.c index 40cc6aa..a618033 100644 --- a/src/Write.c +++ b/src/Write.c @@ -75,11 +75,8 @@ void IOBasic_Write (cGH *GH, int index, const char *alias) if (CCTK_Equals(outScalar_style,"gnuplot")) title_start_char = '#'; - else { - if (! CCTK_Equals(outScalar_style,"xgraph")) - CCTK_WARN(3,"Don't understand outScalar_style ... using xgraph"); - title_start_char = 34; - } + else + title_start_char = 34; /* this is for xgraph */ fprintf (file,"%c%s v time\n",title_start_char,alias); diff --git a/src/WriteGF.c b/src/WriteGF.c index ed54c9d..75a2e24 100644 --- a/src/WriteGF.c +++ b/src/WriteGF.c @@ -63,11 +63,8 @@ void IOBasic_WriteGF (cGH *GH, int index, const char *alias) if (CCTK_Equals (outScalar_style, "gnuplot")) title_start_char = '#'; - else { - if (! CCTK_Equals (outScalar_style,"xgraph")) - CCTK_WARN (3, "Don't understand outScalar_style ... using xgraph"); - title_start_char = 34; - } + else + title_start_char = 34; /* this is for xgraph */ myGH = (iobasicGH *) GH->extensions [CCTK_GHExtensionHandle ("IOBasic")]; |