aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheJackiMonster <thejackimonster@gmail.com>2023-11-23 21:47:54 +0100
committerTheJackiMonster <thejackimonster@gmail.com>2023-11-23 21:47:54 +0100
commit3fd8498fcb4d8666d89cc76d87a13e75e4e1a9e8 (patch)
tree3555a0e28cfdb3aeaabb3ac31b6b438bcdfe0393
parent71f177971acee8fa720987d5743f0b2f4a5062ab (diff)
downloadlibgnunetchat-3fd8498fcb4d8666d89cc76d87a13e75e4e1a9e8.tar.gz
libgnunetchat-3fd8498fcb4d8666d89cc76d87a13e75e4e1a9e8.zip
Remove redundant checking
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
-rw-r--r--src/gnunet_chat_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gnunet_chat_util.c b/src/gnunet_chat_util.c
index 5ddc824..9246308 100644
--- a/src/gnunet_chat_util.c
+++ b/src/gnunet_chat_util.c
@@ -166,7 +166,7 @@ util_encrypt_file (const char *filename,
166 break; 166 break;
167 } 167 }
168 168
169 if ((mapping) && (GNUNET_OK != GNUNET_DISK_file_unmap(mapping))) 169 if (GNUNET_OK != GNUNET_DISK_file_unmap(mapping))
170 result = -1; 170 result = -1;
171 171
172 if (GNUNET_OK != GNUNET_DISK_file_sync(file)) 172 if (GNUNET_OK != GNUNET_DISK_file_sync(file))