mirror of
https://github.com/intel/llvm.git
synced 2026-01-22 23:49:22 +08:00
[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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user