Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: warning pedantic empty init #1596

Merged

Conversation

perigoso
Copy link
Contributor

Detailed description

Fix (some) warnings for -Wpedantic

See #1590 for context

Your checklist for this pull request

  • I've read the Code of Conduct
  • I've read the guidelines for contributing to this repository
  • It builds for hardware native (make PROBE_HOST=native)
  • It builds as BMDA (make PROBE_HOST=hosted)
  • I've tested it to the best of my ability
  • My commit messages provide a useful short description of what the commits do

Closing issues

@perigoso perigoso mentioned this pull request Aug 10, 2023
43 tasks
@perigoso perigoso changed the title Fix/warning pedantic empty init Fix: warning pedantic empty init Aug 10, 2023
Copy link
Member

@dragonmux dragonmux left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good - there's only one thing we spotted in review and then we can merge this as it's a fairly mechanical change that doesn't impact how this code all works.

src/target/nrf51.c Outdated Show resolved Hide resolved
@dragonmux dragonmux added this to the v1.10 milestone Aug 10, 2023
@dragonmux dragonmux added the Enhancement General project improvement label Aug 10, 2023
ISO C forbids empty initializer braces before C2X
ISO C forbids empty initializer braces before C2X
ISO C forbids empty initializer braces before C2X
ISO C forbids empty initializer braces before C2X
ISO C forbids empty initializer braces before C2X
ISO C forbids empty initializer braces before C2X
ISO C forbids empty initializer braces before C2X
ISO C forbids empty initializer braces before C2X
ISO C forbids empty initializer braces before C2X
ISO C forbids empty initializer braces before C2X
ISO C forbids empty initializer braces before C2X
ISO C forbids empty initializer braces before C2X
ISO C forbids empty initializer braces before C2X
ISO C forbids empty initializer braces before C2X
ISO C forbids empty initializer braces before C2X
ISO C forbids empty initializer braces before C2X
ISO C forbids empty initializer braces before C2X
ISO C forbids empty initializer braces before C2X
ISO C forbids empty initializer braces before C2X
@perigoso perigoso force-pushed the fix/warning-pedantic-empty-init branch from 88dfd52 to f4b2d44 Compare August 11, 2023 18:57
Copy link
Member

@dragonmux dragonmux left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, merging!

@dragonmux dragonmux merged commit f042795 into blackmagic-debug:main Aug 11, 2023
6 checks passed
@perigoso perigoso deleted the fix/warning-pedantic-empty-init branch August 11, 2023 20:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement General project improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants