mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-05-09 03:58:06 +03:00
fix Clang warnings
This commit is contained in:
parent
86409a9c4f
commit
96b4b2904c
23 changed files with 86 additions and 55 deletions
|
@ -11,7 +11,7 @@ namespace Common
|
|||
std::optional<std::tm> Localtime(std::time_t time)
|
||||
{
|
||||
std::tm local_time;
|
||||
#ifdef _MSC_VER
|
||||
#ifdef _WIN32
|
||||
if (localtime_s(&local_time, &time) != 0)
|
||||
return std::nullopt;
|
||||
#else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue