[rtems commit] libtest: Remove superfluous assignment

Sebastian Huber sebh at rtems.org
Thu Sep 24 16:08:05 UTC 2020


Module:    rtems
Branch:    master
Commit:    a72419b4de0bd131c825f0618cf8045c3408f22d
Changeset: http://git.rtems.org/rtems/commit/?id=a72419b4de0bd131c825f0618cf8045c3408f22d

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Thu Sep 24 16:18:33 2020 +0200

libtest: Remove superfluous assignment

Issue found by Coverity (CID 1437643).

---

 cpukit/libtest/t-test-busy-tick.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/cpukit/libtest/t-test-busy-tick.c b/cpukit/libtest/t-test-busy-tick.c
index 3613f8e..f83c836 100644
--- a/cpukit/libtest/t-test-busy-tick.c
+++ b/cpukit/libtest/t-test-busy-tick.c
@@ -99,7 +99,6 @@ T_get_one_clock_tick_busy(void)
 		}
 
 		b *= 2;
-		last = now;
 	}
 
 	/* Find a good value */



More information about the vc mailing list