steamcompmgr: init g_nudgePipe to invalid FDs

Make sure we don't wrongly read from stdin or something.
This commit is contained in:
Simon Ser 2021-09-10 11:49:14 +02:00
parent 97746c609f
commit d926ea0b33

View file

@ -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