Fix build breakage on non-linux

Bug: 79173901

Test: liblp_test gtest
Change-Id: I846e99f636ed05f97e44d05a617dc17b5f127d2e
This commit is contained in:
Pawin Vongmasa 2018-07-10 16:46:44 -07:00
parent 1db3789252
commit 2b67f0b85b

View file

@ -54,6 +54,8 @@ bool GetBlockDeviceInfo(const std::string& block_device, BlockDeviceInfo* device
}
return true;
#else
(void)block_device;
(void)device_info;
LERROR << __PRETTY_FUNCTION__ << ": Not supported on this operating system.";
return false;
#endif