#2773: c/src/lib/libcpu/sh/sh7032/clock/ckinit.c:210: possible bad expression ?
---------------------+--------------------
 Reporter:  dcb      |      Owner:
     Type:  defect   |     Status:  new
 Priority:  normal   |  Milestone:  4.11.1
Component:  General  |    Version:  4.10
 Severity:  normal   |   Keywords:
---------------------+--------------------
 c/src/lib/libcpu/sh/sh7032/clock/ckinit.c:210]: (style) Expression '(X |
 0xffff) > 0x0' is always true.

 Source code is

   if ( ( cclicks_per_tick | 0xffff ) > 0 )

 Maybe

   if ( ( cclicks_per_tick & 0xffff ) > 0 )

 was intended ?

--
Ticket URL: <http://devel.rtems.org/ticket/2773>
RTEMS Project <http://www.rtems.org/>
RTEMS Project
_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to