1
0
mirror of https://github.com/taigrr/wtf synced 2025-01-18 04:03:14 -08:00

Remove redundant code from SystemInfo

This commit is contained in:
Chris Cummer 2018-06-15 03:33:13 -07:00
parent 20e49ee749
commit 3d1202126f

View File

@ -51,12 +51,6 @@ func NewSystemInfo() *SystemInfo {
ProductVersion: m["Description"],
BuildVersion: m["Release"],
}
case "darwin":
sysInfo = &SystemInfo{
ProductName: m["ProductName"],
ProductVersion: m["ProductVersion"],
BuildVersion: m["BuildVersion"],
}
default:
sysInfo = &SystemInfo{
ProductName: m["ProductName"],