https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=210709
Bug ID: 210709 Summary: freebsd/sys/dev/pcf/pcf_isa.c:112]: (style) Suspicious condition Product: Base System Version: 11.0-CURRENT Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: kern Assignee: freebsd-bugs@FreeBSD.org Reporter: dcb...@hotmail.com freebsd/sys/dev/pcf/pcf_isa.c:112]: (style) Suspicious condition (assignment + comparison); Clarify expression with parentheses. Source code is if ((error = resource_int_value(PCF_NAME, 0, "port", &port) != 0)) return (error); Maybe better code if ((error = resource_int_value(PCF_NAME, 0, "port", &port)) != 0) return error; -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ freebsd-bugs@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"