[Xapian-tickets] [Xapian] #816: expand/ortermlist.cc:166:12: warning: duplicated 'if' condition

Xapian nobody at xapian.org
Wed Oct 20 21:25:52 BST 2021


#816: expand/ortermlist.cc:166:12: warning: duplicated 'if' condition
--------------------+-------------------------------
 Reporter:  dcb     |             Owner:  Olly Betts
     Type:  defect  |            Status:  assigned
 Priority:  normal  |         Milestone:  1.4.19
Component:  Other   |           Version:  1.4.17
 Severity:  normal  |        Resolution:
 Keywords:          |        Blocked By:
 Blocking:          |  Operating System:  All
--------------------+-------------------------------
Comment (by dcb):

 You might consider it prudent to add compiler flag -Wduplicated-cond
 to your gcc builds. It doesn't seem to be in -Wall.
-- 
Ticket URL: <https://trac.xapian.org/ticket/816#comment:2>
Xapian <https://xapian.org/>
Xapian


More information about the Xapian-tickets mailing list