refactor: drop redundant semicolons #332

pull fanquake wants to merge 2 commits into bitcoin-core:master from fanquake:drop_redundant_semi changing 4 files +71 −71
  1. fanquake commented at 10:17 AM on August 4, 2026: member
  2. test: remove redundant semicolons cbcc2ba7f9
  3. ci: add -Wextra-semi -Wextra-semi-stmt to default config bf3dbbc063
  4. DrahtBot commented at 10:17 AM on August 4, 2026: none

    <!--e57a25ab6845829454e8d69fc972939a-->

    The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

    <!--021abf342d371248e50ceaed478a90ca-->

    Reviews

    See the guideline and AI policy for information on the review process. A summary of reviews will appear here.

    <!--174a7506f384e20aa4161008e828411d-->

    Conflicts

    Reviewers, this pull request conflicts with the following ones:

    • #304 (proxy: fix BuildList to use non-const iteration for interface types by ryanofsky)
    • #298 (Fix error handling when creating clients (mp::ConnectStream) by xyzconstant)

    If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.

    <!--5faf32d7da4f0f540f40219e4f7537a3-->

  5. in test/mp/test/test.cpp:577 in bf3dbbc063
     574 |                      done.set_value();
     575 |                  }));
     576 |      });
     577 |      done.get_future().get();
     578 | -    KJ_EXPECT(error_thrown);
     579 | +    KJ_EXPECT(error_thrown)
    


    maflcko commented at 10:34 AM on August 4, 2026:

    hmm, for macros, I generally prefer if they enforce a trailing semicolon.

    Though, it may be too late to fix this now?


    hebasto commented at 10:50 AM on August 4, 2026:

    Then perhaps omit -Wextra-semi-stmt?

  6. maflcko commented at 10:35 AM on August 4, 2026: contributor

    Seems fine, but I am -0

  7. fanquake commented at 10:44 AM on August 4, 2026: member

    Yea. I don't have too much of an opinion, but it wasn't clear to me why a PR labelled "CI" (#321) was also making random source code changes (bd508311b5617bd8d31b875d8781392f2a6ad7be) (although it seems like that PR was generally confusing (https://github.com/bitcoin-core/libmultiprocess/pull/321#issuecomment-5171132506)), so thought we could at least make this consistent.

  8. maflcko commented at 10:51 AM on August 4, 2026: contributor

    I think 321 was dropping it after a function def, this one is dropping it after statements.

  9. hebasto commented at 10:51 AM on August 4, 2026: member

    ... random source code changes (bd50831)...

    See #321 (review).

  10. fanquake commented at 10:57 AM on August 4, 2026: member

    See #321 (review).

    Thanks. It would be good to write commit messages that contain information for other contributors (which then persists over time), so they don't have to search through GitHub comments to try and find context/explanations.


github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin-core/libmultiprocess. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-08-05 20:30 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me