1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-25 22:43:50 +01:00

native: removed dead code

num was never read, because native will exit before.
This commit is contained in:
Oleg Hahm 2015-07-22 14:36:21 +02:00
parent 5813db3249
commit 9922d2600c

View File

@ -92,7 +92,6 @@ int random_read(char *buf, unsigned int num)
num = _native_rng_read_det(buf, num);
break;
default:
num = 0;
err(EXIT_FAILURE, "random_read: _native_rng_mode is in invalid state %i\n",
_native_rng_mode);
break;