aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp
diff options
context:
space:
mode:
authorSlava Gurevich <sgurevich@gmail.com>2022-08-16 14:09:46 -0700
committerSlava Gurevich <sgurevich@gmail.com>2022-08-17 16:12:42 -0700
commit5a197772ee3077e7bfa2eb3d047d4f36a28b0f39 (patch)
tree51f597daf41c7e1092409221498fce067c679148 /lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp
parent894e8a5446dcee1ab7a2b36471a27e9025d27607 (diff)
downloadllvm-5a197772ee3077e7bfa2eb3d047d4f36a28b0f39.zip
llvm-5a197772ee3077e7bfa2eb3d047d4f36a28b0f39.tar.gz
llvm-5a197772ee3077e7bfa2eb3d047d4f36a28b0f39.tar.bz2
[LLDB][NFC] Suppress spurious static inspection warnings
Suppress coverity false positives. This diff contains comments only, including the hints for Coverity static code inspection to suppress the warning originating at the next line after the comment. Differential Revision: https://reviews.llvm.org/D131998
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp')
-rw-r--r--lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp
index f750ad9..1aa1ecc 100644
--- a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp
+++ b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp
@@ -304,7 +304,7 @@ GDBRemoteCommunicationServerCommon::Handle_qHostInfo(
response.PutChar(';');
}
#endif // #if defined(__APPLE__)
-
+ // coverity[unsigned_compare]
if (g_default_packet_timeout_sec > 0)
response.Printf("default_packet_timeout:%u;", g_default_packet_timeout_sec);