Skip to content

Commit

Permalink
CI fix: unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
franzpoeschel committed Jun 27, 2023
1 parent 691fea6 commit 90b5dd4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/IO/JSON/JSONIOHandlerImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1244,6 +1244,7 @@ std::shared_ptr<nlohmann::json> JSONIOHandlerImpl::obtainJsonContents(File file)
}
// read from file
auto [fh, fh_with_precision, _] = getFilehandle(file, Access::READ_ONLY);
(void)_;
std::shared_ptr<nlohmann::json> res = std::make_shared<nlohmann::json>();
switch (m_fileFormat)
{
Expand Down Expand Up @@ -1280,6 +1281,7 @@ void JSONIOHandlerImpl::putJsonContents(
{
auto [fh, _, fh_with_precision] =
getFilehandle(filename, Access::CREATE);
(void)_;
(*it->second)["platform_byte_widths"] = platformSpecifics();

switch (m_fileFormat)
Expand Down

0 comments on commit 90b5dd4

Please sign in to comment.