mirror of
https://github.com/taglib/taglib.git
synced 2025-05-27 21:20:26 -04:00
Silence a GCC warning about ignoring a return value in test.
This commit is contained in:
parent
46862bf537
commit
75159d5d8a
@ -36,7 +36,7 @@ inline string copyFile(const string &filename, const string &ext)
|
||||
strcat(testFileName, ext.c_str());
|
||||
#else
|
||||
snprintf(testFileName, sizeof(testFileName), "/%s/taglib-test-XXXXXX%s", P_tmpdir, ext.c_str());
|
||||
mkstemps(testFileName, 6);
|
||||
static_cast<void>(mkstemps(testFileName, 6));
|
||||
#endif
|
||||
|
||||
string sourceFileName = testFilePath(filename) + ext;
|
||||
|
Loading…
Reference in New Issue
Block a user