]> granicus.if.org Git - icinga2/commitdiff
Build fix for Windows
authorGunnar Beutner <gunnar@beutner.name>
Thu, 26 Nov 2015 10:17:17 +0000 (11:17 +0100)
committerGunnar Beutner <gunnar@beutner.name>
Thu, 26 Nov 2015 10:19:33 +0000 (11:19 +0100)
refs #10693

lib/base/utility.cpp

index 32ea82022bf865e0859d656ee2ee12f88fe026a9..3e52ab6edf36948098ddd8175264eda4ee0a8def 100644 (file)
@@ -1440,7 +1440,7 @@ static bool ReleaseHelper(String *platformName, String *platformVersion)
                *platformName = "Windows";
 
        if (platformVersion) {
-               String *platformVersion = "Vista";
+               *platformVersion = "Vista";
                if (IsWindowsVistaSP1OrGreater())
                        *platformVersion = "Vista SP1";
                if (IsWindowsVistaSP2OrGreater())