mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Remove unused variable:
Clang 13 warns about `nbytes` being unused. This patch removes this unused variable.
This commit is contained in:
@@ -360,7 +360,6 @@ public:
|
||||
}
|
||||
// Create data file with values
|
||||
std::size_t nitems = 0;
|
||||
std::size_t nbytes = 0;
|
||||
dat_file_header dh;
|
||||
dh.version = currentVersion;
|
||||
dh.uid = make_uid();
|
||||
@@ -420,7 +419,6 @@ public:
|
||||
std::memcpy(os.data(32), key, 32);
|
||||
std::memcpy(os.data(out.second), out.first, out.second);
|
||||
++nitems;
|
||||
nbytes += size;
|
||||
}
|
||||
dw.flush(ec);
|
||||
if (ec)
|
||||
|
||||
Reference in New Issue
Block a user