From 6444bbbdbe6ff84faad48f642d4558017d03895c Mon Sep 17 00:00:00 2001
From: Sergey Linev <S.Linev@gsi.de>
Date: Thu, 28 Feb 2019 12:54:05 +0100
Subject: [PATCH] eve7: fix compiler warning in excpetion handler

---
 graf3d/eve7/src/REveManager.cxx | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/graf3d/eve7/src/REveManager.cxx b/graf3d/eve7/src/REveManager.cxx
index 3d28f6a97ef..1caf1e4f9d5 100644
--- a/graf3d/eve7/src/REveManager.cxx
+++ b/graf3d/eve7/src/REveManager.cxx
@@ -726,15 +726,14 @@ Exception handler for Eve exceptions.
 TStdExceptionHandler::EStatus
 REveManager::RExceptionHandler::Handle(std::exception &exc)
 {
-   REveException* ex = dynamic_cast<REveException*>(&exc);
+   REveException *ex = dynamic_cast<REveException *>(&exc);
    if (ex) {
-      Info("REveManager::RExceptionHandler::Handle", ex->what());
+      Info("Handle", "Exception %s", ex->what());
       // REX::gEve->SetStatusLine(ex->Data());
       gSystem->Beep();
       return kSEHandled;
-   } else {
-      return kSEProceed;
    }
+   return kSEProceed;
 }
 
 ////////////////////////////////////////////////////////////////////////////////
@@ -749,7 +748,6 @@ void REveManager::HttpServerCallback(unsigned connid, const std::string &arg)
       fConnList.emplace_back(connid);
       printf("connection established %u\n", connid);
 
-
       // This prepares core and render data buffers.
       printf("\nEVEMNG ............. streaming the world scene.\n");
 
-- 
GitLab