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

gcc 6.1 warning in libzfs_import.c #4674

Closed
Bronek opened this issue May 20, 2016 · 2 comments
Closed

gcc 6.1 warning in libzfs_import.c #4674

Bronek opened this issue May 20, 2016 · 2 comments

Comments

@Bronek
Copy link

Bronek commented May 20, 2016

When building zfs-utils under gcc 6.1 I noticed following warning

libzfs_import.c: In function 'fix_paths':
libzfs_import.c:224:28: warning: self-comparison always evaluates to true [-Wtautological-compare]
    if (best->ne_num_labels == best->ne_num_labels &&
                            ^~
@Bronek Bronek changed the title gcc 6.1 warning in fix_paths gcc 6.1 warning in libzfs_import.c May 20, 2016
@DeHackEd
Copy link
Contributor

Already fixed in 20c901d

@Bronek Bronek closed this as completed May 20, 2016
@Bronek
Copy link
Author

Bronek commented May 20, 2016

duplicate of #4632 , thanks @DeHackEd !

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

2 participants