
Hi there, we have some functions which we never call anywhere. In many cases, it appears we shouldn't delete them from the source because they "belong" there - the thing I initially stumbled across was ed25519_seckey_write_to_file(), for example. But I also don't see why compiling it and potentially including it in our binary makes any sense. Thoughts? Cheers Sebastian

On Sun, Mar 22, 2015 at 12:12 AM, Sebastian Hahn <sebastian@torproject.org> wrote:
Hi there,
we have some functions which we never call anywhere. In many cases, it appears we shouldn't delete them from the source because they "belong" there - the thing I initially stumbled across was ed25519_seckey_write_to_file(), for example. But I also don't see why compiling it and potentially including it in our binary makes any sense.
Thoughts?
I think it's a different answer case-by-case. For the function you mention, it's going to get used by my #12498 patch, so it probably shouldn't get disabled. But for other unused functions, we might be better off removing them entirely, rather than wrapping them away for further use. cheers, -- Nick
participants (2)
-
Nick Mathewson
-
Sebastian Hahn