From dd3a212f5f28ef1656ea693eda26163b4e5b5b54 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Fri, 6 Mar 2015 10:04:25 +0100 Subject: Bug 1135 - Cleanup: Fix native code Warning --- LibOVR/Src/OVR_Profile.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'LibOVR/Src') diff --git a/LibOVR/Src/OVR_Profile.cpp b/LibOVR/Src/OVR_Profile.cpp index 12f4a46..3dc83f6 100644 --- a/LibOVR/Src/OVR_Profile.cpp +++ b/LibOVR/Src/OVR_Profile.cpp @@ -725,7 +725,7 @@ bool ProfileManager::SetDefaultUser(const DeviceBase* device, const char* user) String product; String serial; if (!GetDeviceTags(device, product, serial)) - return NULL; + return false; const char* product_str = product.IsEmpty() ? NULL : product.ToCStr(); const char* serial_str = serial.IsEmpty() ? NULL : serial.ToCStr(); -- cgit v1.2.3