]> git.ipfire.org Git - thirdparty/dovecot/core.git/commit
global: start relying on fs_file_close(NULL) being a no-op
authorJosef 'Jeff' Sipek <jeff.sipek@dovecot.fi>
Fri, 25 May 2018 14:38:36 +0000 (10:38 -0400)
committerTimo Sirainen <timo.sirainen@dovecot.fi>
Wed, 13 Jun 2018 08:30:02 +0000 (11:30 +0300)
commit1714aa0a0558a42dfec317bbaadcc1537db1d713
treecad17ae8f745d97cf70c78d0c0cd6f802f02f78d
parent13afec5792156c37e582c14d389e6059822abdef
global: start relying on fs_file_close(NULL) being a no-op

Cleanup performed with the following semantic patch:

@@
expression E;
@@

- if (E != NULL) {
-  fs_file_close(E);
- }
+ fs_file_close(E);
src/lib-fs/fs-metawrap.c
src/plugins/fs-compress/fs-compress.c
src/plugins/mail-crypt/fs-crypt-common.c