Skip to content

Commit

Permalink
Remove unused PathOfProcess member/methods
Browse files Browse the repository at this point in the history
  • Loading branch information
Miklos Marton committed Jan 14, 2025
1 parent 23ffe76 commit aa9c354
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
2 changes: 0 additions & 2 deletions src/common/stlink_interface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,6 @@ STLinkInterface::STLinkInterface(STLink_EnumStlinkInterfaceT IfId)
: m_ifId(IfId), m_nbEnumDevices(0), m_bApiDllLoaded(false),
m_bDevInterfaceEnumerated(false)
{
m_pathOfProcess[0] = '\0';

#ifdef USING_ERRORLOG
// Error log management
m_pErrLog = NULL;
Expand Down
8 changes: 0 additions & 8 deletions src/common/stlink_interface.h
Original file line number Diff line number Diff line change
Expand Up @@ -105,11 +105,6 @@ class STLinkInterface
SendCommand(void *pHandle, uint32_t StlinkIdTcp,
STLink_DeviceRequestT *pDevReq, const uint16_t UsbTimeoutMs);

const char *
GetPathOfProcess(void) const
{
return m_pathOfProcess;
}
#ifdef USING_ERRORLOG
void
BindErrLog(cErrLog *pErrLog);
Expand All @@ -129,9 +124,6 @@ class STLinkInterface
STLink_EnumStlinkInterfaceT m_ifId;
uint32_t m_nbEnumDevices;

// stored path of process in ASCII
char m_pathOfProcess[MAX_PATH];

// Flag for STLinkUSBDriver.dll loaded state
bool m_bApiDllLoaded;

Expand Down

0 comments on commit aa9c354

Please sign in to comment.