steamcompmgr: init g_nudgePipe to invalid FDs
Make sure we don't wrongly read from stdin or something.
This commit is contained in:
parent
97746c609f
commit
d926ea0b33
1 changed files with 1 additions and 1 deletions
|
@ -287,7 +287,7 @@ std::vector<ResListEntry_t> wayland_commit_queue;
|
|||
|
||||
static std::atomic< bool > g_bTakeScreenshot{false};
|
||||
|
||||
static int g_nudgePipe[2];
|
||||
static int g_nudgePipe[2] = {-1, -1};
|
||||
|
||||
// poor man's semaphore
|
||||
class sem
|
||||
|
|
Loading…
Reference in a new issue