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

YGTreeView.cc:392: possible bad if test ? #50

Closed
dcb314 opened this issue Oct 13, 2014 · 0 comments
Closed

YGTreeView.cc:392: possible bad if test ? #50

dcb314 opened this issue Oct 13, 2014 · 0 comments

Comments

@dcb314
Copy link

dcb314 commented Oct 13, 2014

libyui-gtk-libyui-gtk-master-2.44.5/src/YGTreeView.cc:394]: (warning) Opposite conditions in nested 'if' blocks lead to a dead code block.

       if (sortable) {
            int index = (n*2)+1;
            if (!sortable)
                index = -1;
@lslezak lslezak closed this as completed in af5244a Apr 1, 2019
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

No branches or pull requests

1 participant