! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
xfbib-file-io.c:86]: (style) Suspicious condition
Status:
RESOLVED: WONTFIX

Comments

Description David Binderman 2016-06-25 18:25:34 CEST
xfbib-file-io.c:86]: (style) Suspicious condition (assignment + comparison); Clarify expression with parentheses.

Source code is

        if ((ret = gtk_dialog_run(GTK_DIALOG(dialog)) == GTK_RESPONSE_OK)) {

Maybe better code

        if ((ret = gtk_dialog_run(GTK_DIALOG(dialog))) == GTK_RESPONSE_OK) {
Comment 1 Skunnyk editbugs 2018-09-22 16:44:23 CEST
This project has been archived, so we are closing related bugs.

Bug #12663

Reported by:
David Binderman
Reported on: 2016-06-25
Last modified on: 2018-09-22

People

Assignee:
David Gustafsson
CC List:
1 user

Version

Version:
SVN Trunk

Attachments

Additional information