diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2017-04-05 14:47:30 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2017-04-06 15:15:11 +0200 |
commit | ef1a5e6c19ce96b1474cda4a5468088bbeff8a8b (patch) | |
tree | d98fa5d65a672b16dc9f2bfd2f51f4bc1d8a47ca /src/systemkey.c | |
parent | c9cc7f885e6e1e4da07d9594af092a5efc86ee5a (diff) | |
download | gnutls-ef1a5e6c19ce96b1474cda4a5468088bbeff8a8b.tar.gz |
Mark with (void) the remove() function and other unchecked functions
This allows static analysers to properly warn on unchecked return values.
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Diffstat (limited to 'src/systemkey.c')
-rw-r--r-- | src/systemkey.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/systemkey.c b/src/systemkey.c index ce152a3aed..c596d69e0d 100644 --- a/src/systemkey.c +++ b/src/systemkey.c @@ -63,7 +63,7 @@ void app_exit(int val) { if (val != 0) { if (outfile_name) - remove(outfile_name); + (void)remove(outfile_name); } exit(val); } |