summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2015-03-06 10:04:25 +0100
committerSven Gothel <[email protected]>2015-03-06 10:04:25 +0100
commitdd3a212f5f28ef1656ea693eda26163b4e5b5b54 (patch)
treedabf85fdbc98ccbdb85fc4986efc40234bcf7b84
parent946d61628f32123243be3ebf2a56d6bce536db77 (diff)
Bug 1135 - Cleanup: Fix native code Warning
-rw-r--r--LibOVR/Src/OVR_Profile.cpp2
1 files changed, 1 insertions, 1 deletions
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();