libgnunetchat

library for GNUnet Messenger
Log | Files | Refs | README | LICENSE

commit 3fd8498fcb4d8666d89cc76d87a13e75e4e1a9e8
parent 71f177971acee8fa720987d5743f0b2f4a5062ab
Author: TheJackiMonster <thejackimonster@gmail.com>
Date:   Thu, 23 Nov 2023 21:47:54 +0100

Remove redundant checking

Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>

Diffstat:
Msrc/gnunet_chat_util.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gnunet_chat_util.c b/src/gnunet_chat_util.c @@ -166,7 +166,7 @@ util_encrypt_file (const char *filename, break; } - if ((mapping) && (GNUNET_OK != GNUNET_DISK_file_unmap(mapping))) + if (GNUNET_OK != GNUNET_DISK_file_unmap(mapping)) result = -1; if (GNUNET_OK != GNUNET_DISK_file_sync(file))