Skip to content

Commit

Permalink
closes #3105. (#3349)
Browse files Browse the repository at this point in the history
`m_type` not initialized, but in fact not used at all, so removed.
  • Loading branch information
Jarod42 committed Apr 15, 2024
1 parent 13f3e95 commit ad88f61
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions CodeLite/cl_process.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ class WXDLLIMPEXP_CL clProcess : public wxProcess
{
long m_pid;
int m_uid;
int m_type;
wxString m_cmd;
bool m_redirect;

Expand Down Expand Up @@ -81,9 +80,7 @@ class WXDLLIMPEXP_CL clProcess : public wxProcess
*/
long Start(bool hide = true);

int GetUid() { return m_uid; }
void SetType(int type) { m_type = type; }
int GetType() const { return m_type; }
int GetUid() const { return m_uid; }
void SetCommand(const wxString& cmd) { m_cmd = cmd; }
bool HasInput(wxString& input, wxString& errors);

Expand Down

0 comments on commit ad88f61

Please sign in to comment.