Skip to content

Fix warning: ordered comparison of pointer with integer zero#20

Open
ms609 wants to merge 1 commit intodevelopmentfrom
c-fixes
Open

Fix warning: ordered comparison of pointer with integer zero#20
ms609 wants to merge 1 commit intodevelopmentfrom
c-fixes

Conversation

@ms609
Copy link
Copy Markdown
Collaborator

@ms609 ms609 commented Mar 15, 2018

Warning generated in https://www.r-project.org/nosvn/R.check/r-devel-windows-ix86+x86_64/TreeSearch-00install.html

statedata.c:402:21: warning: ordered comparison of pointer with integer zero [-Wpedantic]
             if (err <= 0) {
                     ^

I hope this fixes it! (untested)

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