This revision was automatically updated to reflect the committed changes. Closed by commit rL372589: [LLDB] Avoid a warning about an unused static variable (authored by mstorsjo, committed by ). Herald added a project: LLVM. Herald added a subscriber: llvm-commits.
Changed prior to commit: https://reviews.llvm.org/D67895?vs=221226&id=221294#toc Repository: rL LLVM CHANGES SINCE LAST ACTION https://reviews.llvm.org/D67895/new/ https://reviews.llvm.org/D67895 Files: lldb/trunk/tools/lldb-server/lldb-gdbserver.cpp Index: lldb/trunk/tools/lldb-server/lldb-gdbserver.cpp =================================================================== --- lldb/trunk/tools/lldb-server/lldb-gdbserver.cpp +++ lldb/trunk/tools/lldb-server/lldb-gdbserver.cpp @@ -108,10 +108,10 @@ {"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;
Index: lldb/trunk/tools/lldb-server/lldb-gdbserver.cpp =================================================================== --- lldb/trunk/tools/lldb-server/lldb-gdbserver.cpp +++ lldb/trunk/tools/lldb-server/lldb-gdbserver.cpp @@ -108,10 +108,10 @@ {"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;
_______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits