Skip to content

fix(date.h): uninitialized variables error#865

Open
utkarshmsr3 wants to merge 1 commit into
HowardHinnant:masterfrom
utkarshmsr3:patch-1
Open

fix(date.h): uninitialized variables error#865
utkarshmsr3 wants to merge 1 commit into
HowardHinnant:masterfrom
utkarshmsr3:patch-1

Conversation

@utkarshmsr3

Copy link
Copy Markdown
error: ‘tH’ may be used uninitialized in this function [-Werror=maybe-uninitialized]

This could have been handled with #698

@HowardHinnant

HowardHinnant commented Feb 13, 2025

Copy link
Copy Markdown
Owner

Looks like a gcc bug to me. I can't find a path of use of the variables if they are uninitialized. The uninitialized state is protected by the stream fail checks.

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