Skip to content

Commit

Permalink
fix: ensure a valid empty JSON object is created
Browse files Browse the repository at this point in the history
  • Loading branch information
mhx committed Aug 24, 2024
1 parent 4900271 commit 853512e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/reader/internal/metadata_v2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1147,7 +1147,7 @@ template <typename LoggerPolicy>
nlohmann::json
metadata_<LoggerPolicy>::info_as_json(fsinfo_options const& opts,
filesystem_info const* fsinfo) const {
nlohmann::json info;
auto info = nlohmann::json::object();
vfs_stat stbuf;
statvfs(&stbuf);

Expand Down

0 comments on commit 853512e

Please sign in to comment.