OleksandrKvl / sbepp

C++ implementation of the FIX Simple Binary Encoding
https://oleksandrkvl.github.io/sbepp/
MIT License
39 stars 4 forks source link

Unused variables it, name warning #61

Closed ujos closed 2 months ago

ujos commented 2 months ago

In case if I compile my code with GCC 7.3 and enable -Wall, I get following warnings reported. Obviously I can disable them for the given header file. Would be great if you could fix that at your convenience:

sbepp/sbeppc/type_manager.hpp:37:33: warning: unused variable ‘name’ [-Wunused-variable]
sbepp/sbeppc/unique_set.hpp:20:33: warning: unused variable ‘it’ [-Wunused-variable]
sbepp/sbeppc/type_manager.hpp:87:30: warning: unused variable ‘name’ [-Wunused-variable]
OleksandrKvl commented 2 months ago

No, I won't fix it for a couple of reasons:

ujos commented 2 months ago

Oh sorry, I was sure it is part of the sbepp interface, not sbeppc.