Skip to content

Commit

Permalink
Moved dummy variable out of header.
Browse files Browse the repository at this point in the history
  • Loading branch information
emkooz committed Nov 21, 2017
1 parent 5f371cc commit 981680f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions Source/Core/Core/MemoryWatcher.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ void MemoryWatcher::Step()
current_value = new_value;
std::string message = ComposeMessage(address, new_value);
#ifdef _WIN32
unsigned long m_written;
if (m_pipe != INVALID_HANDLE_VALUE)
WriteFile(m_pipe, message.c_str(), static_cast<DWORD>(message.size() + 1), &m_written,
nullptr);
Expand Down
1 change: 0 additions & 1 deletion Source/Core/Core/MemoryWatcher.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ class MemoryWatcher final

#ifdef _WIN32
void* m_pipe;
unsigned long m_written;
#else
int m_fd;
sockaddr_un m_addr;
Expand Down

0 comments on commit 981680f

Please sign in to comment.