Skip to content

Commit

Permalink
remove unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
zdenop committed Apr 24, 2019
1 parent b7bc71e commit 832c257
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/viewer/svutil.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -81,12 +81,12 @@ void SVSync::StartThread(void* (*func)(void*), void* arg) {
#ifdef _WIN32
LPTHREAD_START_ROUTINE f = (LPTHREAD_START_ROUTINE)func;
DWORD threadid;
HANDLE newthread = CreateThread(nullptr, // default security attributes
0, // use default stack size
f, // thread function
arg, // argument to thread function
0, // use default creation flags
&threadid); // returns the thread identifier
CreateThread(nullptr, // default security attributes
0, // use default stack size
f, // thread function
arg, // argument to thread function
0, // use default creation flags
&threadid); // returns the thread identifier
#else
pthread_t helper;
pthread_attr_t attr;
Expand Down

0 comments on commit 832c257

Please sign in to comment.