Skip to content

MONGOCRYPT-766 Fix compilation in C23#945

Merged
kevinAlbs merged 1 commit intomongodb:masterfrom
jeroen:c23
Jan 28, 2025
Merged

MONGOCRYPT-766 Fix compilation in C23#945
kevinAlbs merged 1 commit intomongodb:masterfrom
jeroen:c23

Conversation

@jeroen
Copy link
Contributor

@jeroen jeroen commented Jan 27, 2025

kms/kms_request.c:792:14: warning: initialization of pointer of type
'char *' to null from a constant boolean expression
[-Wbool-conversion]
      return false;
             ^~~~~
kms/kms_request.c:860:14: warning: initialization of pointer of type
'char *' to null from a constant boolean expression
[-Wbool-conversion]
      return false;
             ^~~~~
kms/kms_request.c:864:14: warning: initialization of pointer of type
'char *' to null from a constant boolean expression
[-Wbool-conversion]
      return false;
             ^~~~~

@kevinAlbs kevinAlbs changed the title Fix compilation in C23 MONGOCRYPT-766 Fix compilation in C23 Jan 27, 2025
@kevinAlbs kevinAlbs self-requested a review January 27, 2025 21:25
Copy link
Contributor

@kevinAlbs kevinAlbs left a comment

Choose a reason for hiding this comment

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

Thank you! LGTM

@kevinAlbs kevinAlbs merged commit 34a9572 into mongodb:master Jan 28, 2025
2 checks passed
@jeroen jeroen deleted the c23 branch January 28, 2025 14:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants