diff options
author | Nick Mathewson <nickm@torproject.org> | 2006-10-09 02:35:51 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2006-10-09 02:35:51 +0000 |
commit | c6f2d725d005f912830b523aa1d1a419f4e22ecd (patch) | |
tree | 1368757b759b80251b8a1afd343f3a5ecab0a36d /src/common/torgzip.h | |
parent | c34125503493b2a71728c1cc5e913744f797704e (diff) | |
download | tor-c6f2d725d005f912830b523aa1d1a419f4e22ecd.tar.gz tor-c6f2d725d005f912830b523aa1d1a419f4e22ecd.zip |
r8957@totoro: nickm | 2006-10-08 22:35:17 -0400
The otherwise regrettable MIPSpro C compiler warns about values set but never used, and about mixing enums and ints; these are good warnings, and so should be fixed. This removes some dead code and some potential bugs. Thanks to pnx.
svn:r8664
Diffstat (limited to 'src/common/torgzip.h')
-rw-r--r-- | src/common/torgzip.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/torgzip.h b/src/common/torgzip.h index 153ab4992d..ca3f493540 100644 --- a/src/common/torgzip.h +++ b/src/common/torgzip.h @@ -29,7 +29,7 @@ tor_gzip_uncompress(char **out, size_t *out_len, int is_gzip_supported(void); -int detect_compression_method(const char *in, size_t in_len); +compress_method_t detect_compression_method(const char *in, size_t in_len); typedef enum { TOR_ZLIB_OK, TOR_ZLIB_DONE, TOR_ZLIB_BUF_FULL, TOR_ZLIB_ERR |