#2684 closed defect (fixed)
rtems/c/src/lib/libbsp/sparc/leon3/clock/ckinit.c:122: duplicate if
Reported by: | David Binderman | Owned by: | Sebastian Huber |
---|---|---|---|
Priority: | normal | Milestone: | 5.1 |
Component: | arch/sparc | Version: | 4.11 |
Severity: | normal | Keywords: | |
Cc: | Blocked By: | ||
Blocking: |
Description
rtems/c/src/lib/libbsp/sparc/leon3/clock/ckinit.c:122]: (style) Expression is always false because 'else if' condition matches previous condition at line 116.
Source code is
} else if (state == 1) {
unsigned int ks = 1U << 5;
state = 0;
irqmp_ts->control = ks | s1_s2 | (unsigned int) clkirq;
} else if (state == 1) {
Change History (5)
comment:1 Changed on 04/14/16 at 05:52:58 by Sebastian Huber
Milestone: | 4.11.1 → 4.12 |
---|---|
Owner: | set to Sebastian Huber |
Status: | new → assigned |
Version: | 4.10 → 4.11 |
comment:2 Changed on 07/05/16 at 07:59:52 by Sebastian Huber
Component: | General → bsps |
---|---|
Resolution: | → fixed |
Status: | assigned → closed |
comment:3 Changed on 05/11/17 at 07:31:02 by Sebastian Huber
Milestone: | 4.12 → 4.12.0 |
---|
comment:4 Changed on 10/10/17 at 06:53:06 by Sebastian Huber
Component: | bsps → arch/sparc |
---|
comment:5 Changed on 11/09/17 at 06:27:14 by Sebastian Huber
Milestone: | 4.12.0 → 5.1 |
---|
Milestone renamed
Note: See
TracTickets for help on using
tickets.
[291945f137d411834c0eaf3b0bb819263efb845b/rtems]
No plans to fix this for RTEMS 4.11.