Skip to content

Commit

Permalink
Fix unused variable warning in H5/File.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
knelli2 committed Jan 31, 2023
1 parent 77a7a66 commit 25d1d71
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/IO/H5/File.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ H5File<Access_t>::H5File(std::string file_name, bool append_to_file,
// Ignore file locks when they are disabled on the file system
true),
"Failed to configure file locking.");
#else
(void)use_file_locking;
#endif

file_id_ = file_exists
Expand Down

0 comments on commit 25d1d71

Please sign in to comment.