[Lldb-commits] [lldb] r184953 - Don't explicitly set update version
Ed Maste
emaste at freebsd.org
Wed Jun 26 08:10:31 PDT 2013
Author: emaste
Date: Wed Jun 26 10:10:31 2013
New Revision: 184953
URL: http://llvm.org/viewvc/llvm-project?rev=184953&view=rev
Log:
Don't explicitly set update version
Host::GetOSVersion's caller already sets it to UINT32_MAX to determine
which version number components are set.
Modified:
lldb/trunk/source/Host/freebsd/Host.cpp
Modified: lldb/trunk/source/Host/freebsd/Host.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Host/freebsd/Host.cpp?rev=184953&r1=184952&r2=184953&view=diff
==============================================================================
--- lldb/trunk/source/Host/freebsd/Host.cpp (original)
+++ lldb/trunk/source/Host/freebsd/Host.cpp Wed Jun 26 10:10:31 2013
@@ -132,7 +132,6 @@ Host::GetOSVersion(uint32_t &major,
return false;
status = sscanf(un.release, "%u.%u", &major, &minor);
- update = UINT32_MAX;
return status == 2;
}
More information about the lldb-commits
mailing list