Github user narendragoyal commented on a diff in the pull request:
https://github.com/apache/trafodion/pull/1457#discussion_r171351676
--- Diff: core/sqf/monitor/linux/mlio.cxx ---
@@ -1261,7 +1261,13 @@ SQ_LocalIOToClient::SQ_LocalIOToClient(int nid)
if (cmid == -1)
{
if (trace_settings & TRACE_INIT)
- trace_printf("%s@%d" " failed shmget(" "%d" "), errno=" "%d"
"\n", method_name, __LINE__, (shsize), errno);
+ {
+ int err = errno;
+ char la_buf[MON_STRING_BUF_SIZE];
--- End diff --
la_buf not being used in this block
---