ts: eliminate build warning '-Wself-assign'

pull/9451/head
Alexander Alekhin 7 years ago
parent c9fe702671
commit 8285924cf3
  1. 2
      modules/ts/src/ts_perf.cpp

@ -71,7 +71,7 @@ static void setCurrentThreadAffinityMask(int mask)
if (syscallres)
{
int err=errno;
err=err;//to avoid warnings about unused variables
CV_UNUSED(err);
LOGE("Error in the syscall setaffinity: mask=%d=0x%x err=%d=0x%x", mask, mask, err, err);
}
}

Loading…
Cancel
Save