Skip to content

Commit ad0ec0c

Browse files
committed
Fixed unused variables warnings
1 parent 8f11390 commit ad0ec0c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/main/ipc/NativeExecutor.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,14 +133,18 @@ namespace lsp
133133
atomic_unlock(nLock);
134134

135135
// Execute task
136+
#ifdef LSP_TRACE
136137
lsp_trace("executing task %p", task);
137138
const system::time_millis_t start = system::get_time_millis();
139+
#endif /* LSP_TRACE */
138140

139141
run_task(task);
140142

143+
#ifdef LSP_TRACE
141144
const system::time_millis_t end = system::get_time_millis();
142145
lsp_trace("executed task %p with code %d, time=%d ms",
143146
task, int(task->code()), int(end - start));
147+
#endif /* LSP_TRACE */
144148
}
145149
}
146150
}

0 commit comments

Comments
 (0)