Skip to content

Build warning #39

Description

@rpavlik
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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions