[nemiver] White space and style fixes



commit 71a424d47e801697a2ad5d06fbac09d78a273cb7
Author: Dodji Seketeli <dodji seketeli org>
Date:   Sun Oct 13 10:59:26 2013 +0200

    White space and style fixes
    
        * src/dbgengine/nmv-gdb-engine.cc (GDBEngine::Priv::list_frame):
        Remove useless white spaces.
        (OnDetachHandler::do_handle): Do not name the unused "a_in" parm.
        Thus remove the dummy if().
        * src/persp/dbgperspective/nmv-dbg-perspective.cc
        (DBGPerspective::on_debugger_inferior_re_run_signal): Remove
        useless white spaces.
        (DBGPerspective::on_debugger_detached_from_target_signal): Add a
        ';' after  NEMIVER_TRY.

 src/dbgengine/nmv-gdb-engine.cc                 |    6 ++----
 src/persp/dbgperspective/nmv-dbg-perspective.cc |    4 ++--
 2 files changed, 4 insertions(+), 6 deletions(-)
---
diff --git a/src/dbgengine/nmv-gdb-engine.cc b/src/dbgengine/nmv-gdb-engine.cc
index b4a12fa..008e85a 100644
--- a/src/dbgengine/nmv-gdb-engine.cc
+++ b/src/dbgengine/nmv-gdb-engine.cc
@@ -1047,7 +1047,7 @@ public:
         cmd_str = (stack_window.empty ())
                   ? "-stack-list-frames"
                   : "-stack-list-frames " + stack_window;
-        
+
         Command command ("list-frames", cmd_str, a_cookie);
         command.set_slot (a_slot);
         queue_command (command);
@@ -1403,11 +1403,9 @@ struct OnDetachHandler : OutputHandler {
         return false;
     }
 
-    void do_handle (CommandAndOutput &a_in)
+    void do_handle (CommandAndOutput &)
     {
         LOG_FUNCTION_SCOPE_NORMAL_DD;
-        if (a_in.command ().name () == "") {
-        }
         THROW_IF_FAIL (m_engine);
         m_engine->detached_from_target_signal ().emit ();
         m_engine->set_state (IDebugger::NOT_STARTED);
diff --git a/src/persp/dbgperspective/nmv-dbg-perspective.cc b/src/persp/dbgperspective/nmv-dbg-perspective.cc
index 5a32241..b92cd9d 100644
--- a/src/persp/dbgperspective/nmv-dbg-perspective.cc
+++ b/src/persp/dbgperspective/nmv-dbg-perspective.cc
@@ -2317,7 +2317,7 @@ void
 DBGPerspective::on_debugger_inferior_re_run_signal ()
 {
     LOG_FUNCTION_SCOPE_NORMAL_DD;
-    
+
     NEMIVER_TRY;
 
     m_priv->debugger_has_just_run = true;
@@ -2330,7 +2330,7 @@ DBGPerspective::on_debugger_detached_from_target_signal ()
 {
     LOG_FUNCTION_SCOPE_NORMAL_DD;
 
-    NEMIVER_TRY
+    NEMIVER_TRY;
 
     clear_status_notebook (true);
     workbench ().set_title_extension ("");


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]