summaryrefslogtreecommitdiff
path: root/src/or/statefile.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-09-12 17:46:09 -0400
committerNick Mathewson <nickm@torproject.org>2017-09-12 21:32:34 -0400
commitf2f729e26b93fe42aeac0c0f99bf9ea8dc62591b (patch)
treea9073ba994607080d71687e04b67f34b76f25528 /src/or/statefile.c
parentdb00f24d8be848f5840af913e88d5ae7019c70f6 (diff)
downloadtor-f2f729e26b93fe42aeac0c0f99bf9ea8dc62591b.tar.gz
tor-f2f729e26b93fe42aeac0c0f99bf9ea8dc62591b.zip
Clear up dead-assignment warnings from scan-build
Diffstat (limited to 'src/or/statefile.c')
-rw-r--r--src/or/statefile.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/or/statefile.c b/src/or/statefile.c
index 18111771da..9647aa8834 100644
--- a/src/or/statefile.c
+++ b/src/or/statefile.c
@@ -659,8 +659,6 @@ save_transport_to_state(const char *transport,
*next = line = tor_malloc_zero(sizeof(config_line_t));
line->key = tor_strdup("TransportProxy");
tor_asprintf(&line->value, "%s %s", transport, fmt_addrport(addr, port));
-
- next = &(line->next);
}
if (!get_options()->AvoidDiskWrites)