mirror of
https://github.com/cryb-to/cryb-to.git
synced 2024-11-15 02:05:40 +00:00
Silence a GCC warning about an empty if statement.
This commit is contained in:
parent
18650540d8
commit
7f410bdfd3
1 changed files with 2 additions and 1 deletions
|
@ -66,9 +66,10 @@ oath_key_alloc(void)
|
|||
key->locked = 1;
|
||||
} else {
|
||||
/* openpam_log(PAM_LOG_ERROR, "mmap(): %m"); */
|
||||
if ((key = calloc(sizeof *key, 1)) == NULL)
|
||||
if ((key = calloc(sizeof *key, 1)) == NULL) {
|
||||
/* openpam_log(PAM_LOG_ERROR, "malloc(): %m") */;
|
||||
}
|
||||
}
|
||||
return (key);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue