From d4a2dab9d93b5b9903112abca6888c68dda06079 Mon Sep 17 00:00:00 2001 From: elsid Date: Sat, 10 Jul 2021 12:19:59 +0200 Subject: [PATCH] Remove redundant else --- components/sceneutil/workqueue.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/components/sceneutil/workqueue.cpp b/components/sceneutil/workqueue.cpp index 81c9bee29c..0c68c61921 100644 --- a/components/sceneutil/workqueue.cpp +++ b/components/sceneutil/workqueue.cpp @@ -93,8 +93,7 @@ osg::ref_ptr WorkQueue::removeWorkItem() mQueue.pop_front(); return item; } - else - return nullptr; + return nullptr; } unsigned int WorkQueue::getNumItems() const