Skip to content

Commit 258bcab

Browse files
author
Janne Kiiskilä
committed
Remove the variable ret due to compiler warning:
Compile [ 94.6%]: trng_api.c [Warning] trng_api.c@67,9: unused variable 'ret' [-Wunused-variable] Github issue #3183
1 parent 7829b2f commit 258bcab

File tree

1 file changed

+0
-1
lines changed
  • targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_MCU_K64F

1 file changed

+0
-1
lines changed

targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_MCU_K64F/trng_api.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@ int trng_get_bytes(trng_t *obj, uint8_t *output, size_t length, size_t *output_l
6464
{
6565
(void)obj;
6666
size_t i;
67-
int ret;
6867

6968
/* Set "Interrupt Mask", "High Assurance" and "Go",
7069
* unset "Clear interrupt" and "Sleep" */

0 commit comments

Comments
 (0)