[dovecot/core] d31018: lib: Fix compiler warning about mixing boolean wit...

GitHub noreply at github.com
Thu Aug 17 15:30:10 EEST 2017


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: d31018c559908103c3ecb565101b556b1e9ecef4
      https://github.com/dovecot/core/commit/d31018c559908103c3ecb565101b556b1e9ecef4
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-08-17 (Thu, 17 Aug 2017)

  Changed paths:
    M src/lib/macros.h

  Log Message:
  -----------
  lib: Fix compiler warning about mixing boolean with multiplication


  Commit: 2c8259de19ac2f91de057149a2075c4aaf9206ef
      https://github.com/dovecot/core/commit/2c8259de19ac2f91de057149a2075c4aaf9206ef
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-08-17 (Thu, 17 Aug 2017)

  Changed paths:
    M src/lib/ioloop.h

  Log Message:
  -----------
  lib: Add missing parenthesis to timeout_add()'s msecs parameter checks

This caused wrong results when the msecs parameter contained e.g. var?1:2


  Commit: f784d5bb8edbec88829524135cfa100129f5384d
      https://github.com/dovecot/core/commit/f784d5bb8edbec88829524135cfa100129f5384d
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-08-17 (Thu, 17 Aug 2017)

  Changed paths:
    M src/auth/password-scheme.c
    M src/lib-fts/fts-filter-contractions.c
    M src/lib-index/mail-transaction-log-file.c
    M src/lib-ldap/ldap-connection.c
    M src/lib-mail/istream-attachment-extractor.c
    M src/lib-mail/message-header-encode.c
    M src/lib-storage/index/imapc/imapc-search.c
    M src/lib-storage/mail-search.c
    M src/lib/json-parser.c
    M src/plugins/fts/fts-search-args.c

  Log Message:
  -----------
  global: Add/change switch case "fall through" comments

These fix warnings with gcc 7's -Wimplicit-fallthrough


Compare: https://github.com/dovecot/core/compare/b12757f0d8d0...f784d5bb8edb


More information about the dovecot-cvs mailing list