Bug 202297 - usr/src/sys/netpfil/ipfw/ip_fw_sockopt.c:2837: bad if test ?
Summary: usr/src/sys/netpfil/ipfw/ip_fw_sockopt.c:2837: bad if test ?
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: misc (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-13 16:37 UTC by David Binderman
Modified: 2017-05-02 05:13 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Binderman 2015-08-13 16:37:18 UTC
[usr/src/sys/netpfil/ipfw/ip_fw_sockopt.c:2837]: (style) Same expression on both sides of '>'.

  else if ((uintptr_t)b->handler > (uintptr_t)b->handler)

Maybe

  else if ((uintptr_t)a->handler > (uintptr_t)b->handler)
Comment 1 Andrey V. Elsukov freebsd_committer freebsd_triage 2017-05-02 05:13:55 UTC
Fixed in r295766.