Don't explicitly set update version
authorEd Maste <emaste@freebsd.org>
Wed, 26 Jun 2013 15:10:31 +0000 (15:10 +0000)
committerEd 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

index b585d62..937c06f 100644 (file)
@@ -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;
 }