mirror of
https://github.com/XRPLF/rippled.git
synced 2026-06-06 02:07:07 +00:00
refactor: Enable remaining clang-tidy cppcoreguidelines checks (#6538)
This commit is contained in:
@@ -17,7 +17,7 @@ getHTTPHeaderTimestamp()
|
||||
// sense. There's no point in doing all this work if this function
|
||||
// gets called multiple times a second.
|
||||
char buffer[96];
|
||||
time_t now;
|
||||
time_t now = 0;
|
||||
time(&now);
|
||||
struct tm now_gmt{};
|
||||
#ifndef _MSC_VER
|
||||
|
||||
Reference in New Issue
Block a user