Skip to content

Code cleanup / warnings:#125

Open
ljrk0 wants to merge 1 commit intoantirez:masterfrom
ljrk0:prq_cleanup
Open

Code cleanup / warnings:#125
ljrk0 wants to merge 1 commit intoantirez:masterfrom
ljrk0:prq_cleanup

Conversation

@ljrk0
Copy link
Copy Markdown

@ljrk0 ljrk0 commented Oct 2, 2017

  • Makefile:
    • updated to warn about virtually anything
    • add detection of GCC/Clang
  • anet.c:
    • add static and attribute((unused))
  • dump1090.c:
    • add static and attribute((unused))
    • don't use empty parameter lists in forward-declarations
    • add some const
    • #if-0 unused variable with invalid initializer

 - Makefile:
    * updated to warn about virtually anything
    * add detection of GCC/Clang
 - anet.c:
    * add static and __attribute__((__unused__))
 - dump1090.c:
    * add static and __attribute__((__unused__))
    * don't use empty parameter lists in forward-declarations
    * add some const
    * #if-0 unused variable with invalid initializer
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.

1 participant