Skip to content

fix misc issues found during code review#9979

Merged
xiaoxiang781216 merged 4 commits intoapache:masterfrom
pkarashchenko:__misc_f1
Aug 1, 2023
Merged

fix misc issues found during code review#9979
xiaoxiang781216 merged 4 commits intoapache:masterfrom
pkarashchenko:__misc_f1

Conversation

@pkarashchenko
Copy link
Copy Markdown
Contributor

Summary

Fix misc issues found during code review

  • Remove FAR from non-pointer variables
  • Fix declaration of extern types
  • Remove redundant parentheses
  • Restore C89 compatibility by avoiding binary constants

Impact

Should be none

Testing

Pass CI

Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
@acassis
Copy link
Copy Markdown
Contributor

acassis commented Jul 31, 2023

Good point, I didn't know C89 doesn't support binary notation

@pkarashchenko
Copy link
Copy Markdown
Contributor Author

Good point, I didn't know C89 doesn't support binary notation

Yeah, added in C23

@xiaoxiang781216 xiaoxiang781216 merged commit effb0a1 into apache:master Aug 1, 2023
@pkarashchenko pkarashchenko deleted the __misc_f1 branch August 20, 2023 11:39
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.

4 participants