Skip to content

Suppress unused variable warning in release builds - #38

Open
LucasWaelti wants to merge 1 commit into
nushoin:masterfrom
LucasWaelti:suppress-unused-warning
Open

Suppress unused variable warning in release builds#38
LucasWaelti wants to merge 1 commit into
nushoin:masterfrom
LucasWaelti:suppress-unused-warning

Conversation

@LucasWaelti

Copy link
Copy Markdown

This is a very simple fix to prevent unwanted warnings from the RTree.hpp file when building in release mode. The variable nodeWasSplit is created only to be fed to an assertion and is therefore never used in release builds, thus causing an unused-variable warning.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant