diff options
| author | Mariusz Zaborski <oshogbo@FreeBSD.org> | 2022-03-20 10:17:31 +0000 |
|---|---|---|
| committer | Mariusz Zaborski <oshogbo@FreeBSD.org> | 2022-03-20 10:22:55 +0000 |
| commit | 1e9ce60a6d758ddf5392e96e886fd815694dd66b (patch) | |
| tree | c98525c57f1d5f561bfdca5a8a56158152c3a9ea /lib/libcasper | |
| parent | 8e72f458c6d389870730ae0e95d28a0d8609a018 (diff) | |
Diffstat (limited to 'lib/libcasper')
| -rw-r--r-- | lib/libcasper/services/cap_fileargs/cap_fileargs.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/libcasper/services/cap_fileargs/cap_fileargs.c b/lib/libcasper/services/cap_fileargs/cap_fileargs.c index 64ec69698165..a4b18a8ad6f2 100644 --- a/lib/libcasper/services/cap_fileargs/cap_fileargs.c +++ b/lib/libcasper/services/cap_fileargs/cap_fileargs.c @@ -275,8 +275,7 @@ fileargs_cinitnv(cap_channel_t *cas, nvlist_t *limits) { cap_channel_t *chann; fileargs_t *fa; - int serrno, ret; - int flags, operations; + int flags, ret, serrno; assert(cas != NULL); @@ -294,7 +293,7 @@ fileargs_cinitnv(cap_channel_t *cas, nvlist_t *limits) } flags = nvlist_get_number(limits, "flags"); - operations = nvlist_get_number(limits, "operations"); + (void)nvlist_get_number(limits, "operations"); /* Limits are consumed no need to free them. */ ret = cap_limit_set(chann, limits); |
