diff --git a/panda/src/pipeline/threadPosixImpl.cxx b/panda/src/pipeline/threadPosixImpl.cxx index 9108825422..371c7464ad 100644 --- a/panda/src/pipeline/threadPosixImpl.cxx +++ b/panda/src/pipeline/threadPosixImpl.cxx @@ -337,7 +337,7 @@ root_func(void *data) { } /** - * Called by get_current_thread() if the current therad pointer is null; checks + * Called by get_current_thread() if the current thread pointer is null; checks * whether it might be the main thread. */ Thread *ThreadPosixImpl:: @@ -347,7 +347,6 @@ init_current_thread() { thread = Thread::get_main_thread(); _current_thread = thread; } - nassertr(thread != nullptr, nullptr); return thread; }