diff options
author | Nick Mathewson <nickm@torproject.org> | 2006-06-04 22:42:13 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2006-06-04 22:42:13 +0000 |
commit | 853e2d99b64cc886377f95b8f74e9f549769c410 (patch) | |
tree | 3c5949273d8d13229b51bdb8a2ecf4581d27dd18 /src/common/crypto.c | |
parent | c4647545a02bd5f6b28bdb2bcd50a915ef04cf8c (diff) | |
download | tor-853e2d99b64cc886377f95b8f74e9f549769c410.tar.gz tor-853e2d99b64cc886377f95b8f74e9f549769c410.zip |
Add a new warning to our "warn a lot" list: unused parameters. This means we have to explicitly "use" unuseds, but it can catch bugs. (It caught two coding mistakes so far.)
svn:r6532
Diffstat (limited to 'src/common/crypto.c')
-rw-r--r-- | src/common/crypto.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/crypto.c b/src/common/crypto.c index 429df04b12..ac23880114 100644 --- a/src/common/crypto.c +++ b/src/common/crypto.c @@ -1802,6 +1802,8 @@ secret_to_key(char *key_out, size_t key_out_len, const char *secret, static void _openssl_locking_cb(int mode, int n, const char *file, int line) { + (void)file; + (void)line; if (!_openssl_mutexes) /* This is not a really good fix for the * "release-freed-lock-from-separate-thread-on-shutdown" problem, but |