[nemiver] Remove dead code



commit 1a85746d221c47bf22359373fc3e8d11eb7a1669
Author: Dodji Seketeli <dodji redhat com>
Date:   Wed Sep 8 14:52:50 2010 +0200

    Remove dead code
    
    	* src/persp/dbgperspective/nmv-dbg-perspective.cc
    	(find_file_in_source_dirs): Remove unused function.

 src/persp/dbgperspective/nmv-dbg-perspective.cc |   14 --------------
 1 files changed, 0 insertions(+), 14 deletions(-)
---
diff --git a/src/persp/dbgperspective/nmv-dbg-perspective.cc b/src/persp/dbgperspective/nmv-dbg-perspective.cc
index ae4b9de..9e03d3b 100644
--- a/src/persp/dbgperspective/nmv-dbg-perspective.cc
+++ b/src/persp/dbgperspective/nmv-dbg-perspective.cc
@@ -799,9 +799,6 @@ public:
 
     list<UString>& get_global_search_paths ();
 
-    bool find_file_in_source_dirs (const UString &a_file_name,
-                                   UString &a_file_path);
-
     bool do_monitor_file (const UString &a_path);
 
     bool do_unmonitor_file (const UString &a_path);
@@ -4676,17 +4673,6 @@ DBGPerspective::get_global_search_paths ()
 }
 
 bool
-DBGPerspective::find_file_in_source_dirs (const UString &a_file_name,
-                                          UString &a_file_path)
-{
-    THROW_IF_FAIL (m_priv);
-
-    return common::env::find_file (a_file_name, m_priv->prog_path,
-                                   m_priv->prog_cwd, m_priv->session_search_paths,
-                                   m_priv->global_search_paths, a_file_path);
-}
-
-bool
 DBGPerspective::do_monitor_file (const UString &a_path)
 {
     THROW_IF_FAIL (m_priv);



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