From 05c60cfecb55db806686470ad4ab7406df6a8e38 Mon Sep 17 00:00:00 2001 From: lhausamm <loic_hausammann@hotmail.com> Date: Sun, 27 May 2018 20:03:34 +0200 Subject: [PATCH] Remove useless parameter in snapshot --- src/logger_io.c | 2 -- src/single_io.c | 2 -- 2 files changed, 4 deletions(-) diff --git a/src/logger_io.c b/src/logger_io.c index d421b0f3e8..dc3ca9b490 100644 --- a/src/logger_io.c +++ b/src/logger_io.c @@ -114,8 +114,6 @@ void write_index_single(struct engine* e, const char* baseName, /* Write the relevant information */ io_write_attribute(h_grp, "PeriodicBoundariesOn", INT, &periodic, 1); - int index = 1; - io_write_attribute(h_grp, "IsIndexFile", INT, &index, 1); /* Close runtime parameters */ H5Gclose(h_grp); diff --git a/src/single_io.c b/src/single_io.c index 999afc1262..e8cd02ff81 100644 --- a/src/single_io.c +++ b/src/single_io.c @@ -686,8 +686,6 @@ void write_output_single(struct engine* e, const char* baseName, /* Write the relevant information */ io_write_attribute(h_grp, "PeriodicBoundariesOn", INT, &periodic, 1); - int index = 0; - io_write_attribute(h_grp, "IsIndexFile", INT, &index, 1); /* Close runtime parameters */ H5Gclose(h_grp); -- GitLab