diff options
author | Sven Gothel <[email protected]> | 2015-03-06 10:04:25 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2015-03-06 10:04:25 +0100 |
commit | dd3a212f5f28ef1656ea693eda26163b4e5b5b54 (patch) | |
tree | dabf85fdbc98ccbdb85fc4986efc40234bcf7b84 | |
parent | 946d61628f32123243be3ebf2a56d6bce536db77 (diff) |
Bug 1135 - Cleanup: Fix native code Warning
-rw-r--r-- | LibOVR/Src/OVR_Profile.cpp | 2 |
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(); |