summaryrefslogtreecommitdiff
path: root/src/or/onion.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2004-04-17 06:34:20 +0000
committerRoger Dingledine <arma@torproject.org>2004-04-17 06:34:20 +0000
commit01e594e512a6599b670cb5c300b43d0ee0923ebc (patch)
treeaf9f4417add951efce575dffb13665c5d8213f2b /src/or/onion.c
parente72f58422885cd864f02825a29626fa43a5666ae (diff)
downloadtor-01e594e512a6599b670cb5c300b43d0ee0923ebc.tar.gz
tor-01e594e512a6599b670cb5c300b43d0ee0923ebc.zip
clean up some warnings
svn:r1651
Diffstat (limited to 'src/or/onion.c')
-rw-r--r--src/or/onion.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/onion.c b/src/or/onion.c
index aa93d81b79..8939a3d2e3 100644
--- a/src/or/onion.c
+++ b/src/or/onion.c
@@ -363,6 +363,7 @@ static routerinfo_t *choose_good_exit_server(uint8_t purpose, routerlist_t *dir)
log_fn(LOG_WARN,"unhandled purpose %d", purpose);
assert(0);
}
+ return NULL; /* never reached */
}
cpath_build_state_t *onion_new_cpath_build_state(uint8_t purpose,