mirror of
https://github.com/Tencent/rapidjson.git
synced 2025-10-28 19:52:02 +01:00
Fixes a warning in release.
This commit is contained in:
@@ -46,7 +46,7 @@ inline Ch* StrDup(const Ch* str) {
|
||||
}
|
||||
|
||||
inline void TempFilename(char *filename) {
|
||||
tmpnam(filename);
|
||||
filename = tmpnam(filename);
|
||||
|
||||
// For Visual Studio, tmpnam() adds a backslash in front. Remove it.
|
||||
if (filename[0] == '\\')
|
||||
|
||||
Reference in New Issue
Block a user