Skip to content

Commit

Permalink
minor - fix codacy static analysis false positive
Browse files Browse the repository at this point in the history
  • Loading branch information
odygrd committed Nov 5, 2023
1 parent cf109a1 commit 19468c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quill/src/detail/misc/Os.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ tm* gmtime_rs(time_t const* timer, tm* buf)
tm* localtime_rs(time_t const* timer, tm* buf)
{
#if defined(_WIN32)
errno_t const res = localtime_s(buf, timer);
auto const res = localtime_s(buf, timer);
if (res)
{
std::ostringstream error_msg;
Expand Down

0 comments on commit 19468c9

Please sign in to comment.