[LLDB] Avoid a warning about an unused static variable

The variable is unused on windows.

Differential Revision: https://reviews.llvm.org/D67895

llvm-svn: 372589
This commit is contained in:
Martin Storsjo
2019-09-23 12:03:21 +00:00
parent 799d61f269
commit 33d29a60a2

View File

@@ -108,10 +108,10 @@ static struct option g_long_options[] = {
{"fd", required_argument, nullptr, 'F'},
{nullptr, 0, nullptr, 0}};
#ifndef _WIN32
// Watch for signals
static int g_sighup_received_count = 0;
#ifndef _WIN32
static void sighup_handler(MainLoopBase &mainloop) {
++g_sighup_received_count;