[Lldb-commits] [lldb] ff56d80 - [lldb] [Host/FreeBSD] Remove unused variable (NFC)
Michał Górny via lldb-commits
lldb-commits at lists.llvm.org
Sat Oct 23 02:38:45 PDT 2021
Author: Michał Górny
Date: 2021-10-23T11:38:35+02:00
New Revision: ff56d80eaa5ea59801843a39be4c65887dbb8b71
URL: https://github.com/llvm/llvm-project/commit/ff56d80eaa5ea59801843a39be4c65887dbb8b71
DIFF: https://github.com/llvm/llvm-project/commit/ff56d80eaa5ea59801843a39be4c65887dbb8b71.diff
LOG: [lldb] [Host/FreeBSD] Remove unused variable (NFC)
Added:
Modified:
lldb/source/Host/freebsd/HostInfoFreeBSD.cpp
Removed:
################################################################################
diff --git a/lldb/source/Host/freebsd/HostInfoFreeBSD.cpp b/lldb/source/Host/freebsd/HostInfoFreeBSD.cpp
index 22af5bda66108..50f43999f369b 100644
--- a/lldb/source/Host/freebsd/HostInfoFreeBSD.cpp
+++ b/lldb/source/Host/freebsd/HostInfoFreeBSD.cpp
@@ -32,7 +32,6 @@ llvm::VersionTuple HostInfoFreeBSD::GetOSVersion() {
llvm::Optional<std::string> HostInfoFreeBSD::GetOSBuildString() {
int mib[2] = {CTL_KERN, KERN_OSREV};
- char osrev_str[12];
uint32_t osrev = 0;
size_t osrev_len = sizeof(osrev);
More information about the lldb-commits
mailing list