vrancurel / dcss

Decentralized Secure Storage with the Ethereum Blockchain
BSD 3-Clause "New" or "Revised" License
7 stars 3 forks source link

Add `-Wshadow` and fix a regression #20

Closed slaperche-scality closed 6 years ago

slaperche-scality commented 6 years ago

During the migration to CMake, I took a look to my personal set of compiler flags and added them.

Not much to say about that, except that one, -Wshadow, spouted some warnings which lead me to discover a regression introduced in 1327309a2a97aa6e328027e107fbcc34a17fe9c1 (where I introduced some answers variables that were hiding other ones with a wider scope).