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

static variable initial value break #70

Closed
huiman opened this issue Sep 19, 2023 · 2 comments
Closed

static variable initial value break #70

huiman opened this issue Sep 19, 2023 · 2 comments

Comments

@huiman
Copy link

huiman commented Sep 19, 2023

when formatting this static declaration from

static int is_init = 0;

, the output separates the line to be

static int is_init;
is_init = 0;

which makes is_init value not static.

@huiman huiman changed the title static variable initial value static variable initial value break Sep 19, 2023
@lgrandco lgrandco mentioned this issue Sep 23, 2023
@huiman
Copy link
Author

huiman commented Oct 5, 2023

@cacharle does this fix merged to master?

@cacharle
Copy link
Collaborator

cacharle commented Oct 5, 2023

@huiman done now

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

No branches or pull requests

2 participants