[dovecot/core | refs/heads/master] c5dc617b: global: hash_table_iterate_deinit(NULL) is a no-op

noreply at dovecot.org noreply at dovecot.org
Thu Jan 17 19:30:13 EET 2019


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: c5dc617b26d072121603cc9f71e61139351b30a5
      https://github.com/dovecot/core/commit/c5dc617b26d072121603cc9f71e61139351b30a5
  Author: Josef 'Jeff' Sipek <jeff.sipek at open-xchange.com>
  Date:   2019-01-14 (Mon, 14 Jan 2019)

  Changed paths:
    M src/doveadm/dsync/dsync-brain.c

  Log Message:
  -----------
  global: hash_table_iterate_deinit(NULL) is a no-op

@@
expression E;
@@

- if (E != NULL) {
- 	hash_table_iterate_deinit(&E);
- }
+ hash_table_iterate_deinit(&E);

  Commit: c89d0323e3023ff3aa78bb1f98d71773119e10dc
      https://github.com/dovecot/core/commit/c89d0323e3023ff3aa78bb1f98d71773119e10dc
  Author: Josef 'Jeff' Sipek <jeff.sipek at open-xchange.com>
  Date:   2019-01-14 (Mon, 14 Jan 2019)

  Changed paths:
    M src/lib/hash.c

  Log Message:
  -----------
  lib: hash_table_iterate_deinit(NULL) should be a no-op

  Commit: 18c8e68409b18f0d900eef8c6a75fc641207b955
      https://github.com/dovecot/core/commit/18c8e68409b18f0d900eef8c6a75fc641207b955
  Author: Josef 'Jeff' Sipek <jeff.sipek at open-xchange.com>
  Date:   2019-01-17 (Thu, 17 Jan 2019)

  Changed paths:
    M src/auth/db-passwd-file.c
    M src/doveadm/dsync/dsync-mailbox-tree.c
    M src/lib-fts/fts-filter-stopwords.c
    M src/lib-master/master-service-settings-cache.c
    M src/lib-storage/index/maildir/maildir-uidlist.c
    M src/plugins/lazy-expunge/lazy-expunge-plugin.c

  Log Message:
  -----------
  global: hash_table_destroy(NULL) is a no-op

@@
expression E;
@@

- if (hash_table_is_created(E))
- 	hash_table_destroy(&E);
+ hash_table_destroy(&E);

  Patch: https://github.com/dovecot/core/compare/12c63978fae7...c5dc617b26d0.patch


More information about the dovecot-cvs mailing list