mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-29 22:20:33 +00:00
Remove annotation which does not work
This commit is contained in:
parent
f984e96b34
commit
45b1c68af4
@ -146,11 +146,10 @@ static void gdb_info(pid_t pid)
|
||||
/*
|
||||
* Create a temp file to put gdb commands into.
|
||||
* Note: POSIX.1-2008 declares that the file should be already created with mode 0600 by default.
|
||||
* Modern systems implement it and and suggest to do not touch masks in multithreaded applications.
|
||||
* Modern systems implement it and suggest to do not touch masks in multithreaded applications.
|
||||
* So CoverityScan warning is valid only for ancient versions of stdlib.
|
||||
*/
|
||||
strcpy(respfile, "/tmp/gdb-respfile-XXXXXX");
|
||||
// coverity[secure_temp]
|
||||
if((fd=mkstemp(respfile)) >= 0 && (f=fdopen(fd, "w")) != nullptr)
|
||||
{
|
||||
fprintf(f, "attach %d\n"
|
||||
|
Loading…
x
Reference in New Issue
Block a user