Skip to content

Commit 8285924

Browse files
committed
ts: eliminate build warning '-Wself-assign'
1 parent c9fe702 commit 8285924

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/ts/src/ts_perf.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ static void setCurrentThreadAffinityMask(int mask)
7171
if (syscallres)
7272
{
7373
int err=errno;
74-
err=err;//to avoid warnings about unused variables
74+
CV_UNUSED(err);
7575
LOGE("Error in the syscall setaffinity: mask=%d=0x%x err=%d=0x%x", mask, mask, err, err);
7676
}
7777
}

0 commit comments

Comments
 (0)