diff options
author | Nick Mathewson <nickm@torproject.org> | 2005-01-03 20:03:49 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2005-01-03 20:03:49 +0000 |
commit | 858eda473674f42261ff3c7e765bf0cc280dd681 (patch) | |
tree | 0018744ec847f83a3c3ac2958648a175bfd1ff2b | |
parent | 5f40d6bf729522e8de88845d145672285ad3800b (diff) | |
download | tor-858eda473674f42261ff3c7e765bf0cc280dd681.tar.gz tor-858eda473674f42261ff3c7e765bf0cc280dd681.zip |
Fix an unused function warning
svn:r3255
-rw-r--r-- | src/or/command.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/command.c b/src/or/command.c index 0096f28b09..475bb23c94 100644 --- a/src/or/command.c +++ b/src/or/command.c @@ -31,6 +31,7 @@ static void command_process_created_cell(cell_t *cell, connection_t *conn); static void command_process_relay_cell(cell_t *cell, connection_t *conn); static void command_process_destroy_cell(cell_t *cell, connection_t *conn); +#ifdef KEEP_TIMING_STATS /** This is a wrapper function around the actual function that processes the * <b>cell</b> that just arrived on <b>conn</b>. Increment <b>*time</b> * by the number of microseconds used by the call to <b>*func(cell, conn)</b>. @@ -56,6 +57,7 @@ static void command_time_process_cell(cell_t *cell, connection_t *conn, int *tim } *time += time_passed; } +#endif /** Process a <b>cell</b> that was just received on <b>conn</b>. Keep internal * statistics about how many of each cell we've processed so far |