adam-markovics commented on code in PR #1382:
URL: https://github.com/apache/nifi-minifi-cpp/pull/1382#discussion_r940359021
##########
libminifi/src/utils/BackTrace.cpp:
##########
@@ -129,9 +129,6 @@ BackTrace TraceResolver::getBackTrace(std::string
thread_name, std::thread::nati
if (0 == thread_handle || pthread_equal(pthread_self(), thread_handle)) {
pull_trace();
} else {
- if (thread_handle == 0) {
Review Comment:
It was impossible for control flow to reach this because this case was
handled in the previous `if`.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]