1
0
mirror of https://github.com/Yubico/yubico-pam.git synced 2025-03-15 18:29:16 +01:00

generate_random: Remove unused variable 'i'.

This commit is contained in:
Fredrik Thulin 2011-12-06 11:54:09 +01:00
parent b671a6a350
commit f03314e59c

2
util.c
View File

@ -72,7 +72,7 @@ get_user_cfgfile_path(const char *common_path, const char *filename, const char
int generate_random(char *buf, int len)
{
FILE *u;
int i, res;
int res;
u = fopen("/dev/urandom", "r");
if (!u) {