OSVR-Unity-Rendering icon indicating copy to clipboard operation
OSVR-Unity-Rendering copied to clipboard

Build warning

Open rpavlik opened this issue 7 years ago • 0 comments

OSVR-Unity-Rendering/OsvrRenderingPlugin.cpp:590:19: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare]
        if (index < 0 || index >= getNumRenderInfo()) {
            ~~~~~ ^ ~

Think the meaningless compare can just be removed. This is branch d3d_capi

rpavlik avatar Apr 05 '18 04:04 rpavlik