DBG: remove explicit size for memset in command line
This commit is contained in:
parent
2c3a16fbb5
commit
db9f8c845b
|
@ -103,7 +103,7 @@ void CmdLineCacheLoad(JSON Root)
|
|||
EXCLUSIVE_ACQUIRE(LockCmdLine);
|
||||
|
||||
// Clear command line
|
||||
memset(commandLine, 0, MAX_SETTING_SIZE);
|
||||
memset(commandLine, 0, sizeof(commandLine));
|
||||
|
||||
// Get a handle to the root object -> commandLine
|
||||
const JSON jsonCmdLine = json_object_get(Root, "commandLine");
|
||||
|
|
|
@ -1783,7 +1783,7 @@ static void cbLoadDll(LOAD_DLL_DEBUG_INFO* LoadDll)
|
|||
GuiUpdateBreakpointsView();
|
||||
bool bAlreadySetEntry = false;
|
||||
|
||||
char command[MAX_PATH*2] = "";
|
||||
char command[MAX_PATH * 2] = "";
|
||||
bool bIsDebuggingThis = false;
|
||||
if(bFileIsDll && !_stricmp(DLLDebugFileName, szFileName) && !bIsAttached) //Set entry breakpoint
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue