From 2d75b7944990f1ce80b3847be1f8dff09df82dad Mon Sep 17 00:00:00 2001
From: Victor Toofic <toofics@users.noreply.github.com>
Date: 摹曛, 20 5月 2021 00:04:08 +0800
Subject: [PATCH] - use CMake PROJECT_DESCRIPTION var instead to be able to build with cmake < 3.8 (#118)

---
 src/library/os/windows/os_win.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/library/os/windows/os_win.cpp b/src/library/os/windows/os_win.cpp
index 8c23652..06166bd 100644
--- a/src/library/os/windows/os_win.cpp
+++ b/src/library/os/windows/os_win.cpp
@@ -35,7 +35,7 @@
 	const DWORD dwSize = MAX_PATH;
 	char szLogicalDrives[MAX_PATH] = {0};
 
-	FUNCTION_RETURN return_value = FUNC_RET_NOT_AVAIL;
+	FUNCTION_RETURN return_value;
 	const DWORD dwResult = GetLogicalDriveStrings(dwSize, szLogicalDrives);
 
 	if (dwResult > 0) {
@@ -75,7 +75,7 @@
 		return_value = FUNC_RET_OK;
 	} else {
 		return_value = FUNC_RET_NOT_AVAIL;
-		LOG_INFO("No fixed drive were detected");
+		LOG_DEBUG("No fixed drive were detected");
 	}
 
 	return return_value;

--
Gitblit v1.9.1