Skip to content

Commit

Permalink
Debugger: Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Michaelangel007 committed Jan 5, 2022
1 parent 8d864c2 commit 7853c1c
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions source/Debugger/Debug.cpp
Expand Up @@ -3783,13 +3783,8 @@ Update_t CmdConfigSetDebugDir (int nArgs)
}
else // Relative
{
std::string SAME_DIR( "." );
SAME_DIR += PATH_SEPARATOR;

std::string UP_DIR( "..");
UP_DIR += PATH_SEPARATOR;

size_t nNewPathLen = strlen( g_aArgs[1].sArg );
std::string SAME_DIR( "." ); SAME_DIR += PATH_SEPARATOR;
std::string UP_DIR ( ".."); UP_DIR += PATH_SEPARATOR;
std::string sNewPath( g_aArgs[1].sArg );

// if new path doesn't have a trailing slash, append one
Expand Down

0 comments on commit 7853c1c

Please sign in to comment.