Skip to content

Fix 'braces around scalar initializer' errors with certain compilers.#4926

Merged
nanangizz merged 1 commit intopjsip:masterfrom
amubiera:braces-initializer
Apr 16, 2026
Merged

Fix 'braces around scalar initializer' errors with certain compilers.#4926
nanangizz merged 1 commit intopjsip:masterfrom
amubiera:braces-initializer

Conversation

@amubiera
Copy link
Copy Markdown
Contributor

Fixes for several errors for braced initializers under certain compilers:

  • AppleClang 17.0.0.17000013
  • GCC 13.2.0
  • GCC 13.3.0
  • GCC 14.2.0
pjproject/pjsip/src/pjsip/sip_dialog.c:2269:62: error: braces around scalar initializer [-Werror]
 2269 |             pjsip_auth_clt_async_on_chal_param chal_param = {{0}};
      |

@nanangizz nanangizz merged commit 9c76e61 into pjsip:master Apr 16, 2026
53 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants