Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

comparison of constant 2 with boolean expression is always false #1216

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

comparison of constant 2 with boolean expression is always false #1216

wants to merge 1 commit into from

Conversation

SinoBoeckmann
Copy link

Hey there, my currently ios build is breaking because of this line, it should definitly not look like this. :)

./platforms/ios/RunningFitness/Plugins/phonegap-facebook-plugin/FacebookConnectPlugin.m:238:28: warning: comparison of constant 2 with boolean expression is always false [-Wtautological-constant-out-of-range-compare]
if (!command.arguments == 2) {
~~~~~~~~~~~~~~~~~~ ^ ~
1 warning and 1 error generated.

Hey there, my currently ios build is breaking because of this line, it should definitly not look like this. :)

./platforms/ios/RunningFitness/Plugins/phonegap-facebook-plugin/FacebookConnectPlugin.m:238:28: warning: comparison of constant 2 with boolean expression is always false [-Wtautological-constant-out-of-range-compare]
    if (!command.arguments == 2) {
        ~~~~~~~~~~~~~~~~~~ ^  ~
1 warning and 1 error generated.
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