You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
../omr-agentcore/src/ibmras/monitoring/connector/headless/HLConnector.cpp: In member function 'void ibmras::monitoring::connector::headless::HLConnector::startNewTempDir()':
../omr-agentcore/src/ibmras/monitoring/connector/headless/HLConnector.cpp:206:40: warning: ignoring return value of 'char* getcwd(char*, size_t)', declared with attribute warn_unused_result [-Wunused-result]
getcwd(cDirectory, sizeof(cDirectory));
cDirectory is used afterwards but will contain stack garbage if getcwd() failed.
The text was updated successfully, but these errors were encountered:
I noticed the following compiler warning:
cDirectory
is used afterwards but will contain stack garbage if getcwd() failed.The text was updated successfully, but these errors were encountered: