Skip to content

Commit acf93f3

Browse files
committed
Remove redundant lock
1 parent 93431e0 commit acf93f3

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Source/Onix1.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,6 @@ namespace OnixSourcePlugin
8484
template <typename opt_t>
8585
int getOption(int option, opt_t* value)
8686
{
87-
const ScopedLock lock(registerLock);
88-
8987
size_t len = sizeof(opt_t);
9088
int rc = get_opt_(option, value, &len);
9189
return rc;

0 commit comments

Comments
 (0)