We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2eb8144 commit 37979bbCopy full SHA for 37979bb
cpr/cookies.cpp
@@ -34,7 +34,7 @@ const std::string Cookie::GetExpiresString() const {
34
#ifdef _WIN32
35
gmtime_s(&tm, &tt);
36
#else
37
- // NOLINTNEXTLINE(misc-include-cleaner) False positive since <ctime> is included
+ // NOLINTNEXTLINE(misc-include-cleaner,cert-err33-c) False positive since <ctime> is included. Also ignore the ret value here.
38
gmtime_r(&tt, &tm);
39
#endif
40
ss << std::put_time(&tm, "%a, %d %b %Y %H:%M:%S GMT");
0 commit comments