projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
66b6944
)
Don't explicitly set update version
author
Ed Maste
<emaste@freebsd.org>
Wed, 26 Jun 2013 15:10:31 +0000
(15:10 +0000)
committer
Ed Maste
<emaste@freebsd.org>
Wed, 26 Jun 2013 15:10:31 +0000
(15:10 +0000)
Host::GetOSVersion's caller already sets it to UINT32_MAX to determine
which version number components are set.
llvm-svn: 184953
lldb/source/Host/freebsd/Host.cpp
patch
|
blob
|
history
diff --git
a/lldb/source/Host/freebsd/Host.cpp
b/lldb/source/Host/freebsd/Host.cpp
index
b585d62
..
937c06f
100644
(file)
--- a/
lldb/source/Host/freebsd/Host.cpp
+++ b/
lldb/source/Host/freebsd/Host.cpp
@@
-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;
}