Nitrokey / nitrokey-pro-firmware

Firmware for the Nitrokey Pro device
GNU General Public License v3.0
119 stars 22 forks source link

Remove build warnings #44

Closed szszszsz closed 6 years ago

szszszsz commented 6 years ago

Remove most of the build warnings. src/Library files are not impacted. Warnings generated with -Wall. Some of the -Wextra were solved too. Now any warning in our codebase (not src/Library; using -Wall switch) would make a compilation error. Compilation made on GCC 6.3.1 and 4.9.3. The latter build used for testing.

Fixes #40

Tested against: