From 2ec64a78da8df01ec534161475a87989ae527776 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Wed, 23 Aug 2017 13:20:24 -0700 Subject: The common endpoint code already ensures state is proper. This eliminates tests for code that we cannot reach, because the upper layer endpoint code already ensures that we don't get called if we are closing, that the mode is correct, and that only one outstanding endpoint operation is in progress on any given endpoint. --- src/core/options.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/core') diff --git a/src/core/options.c b/src/core/options.c index 55797218..bdbcaaba 100644 --- a/src/core/options.c +++ b/src/core/options.c @@ -328,7 +328,6 @@ nni_option_name(int id) int nni_option_register(const char *name, int *idp) { - int id; int rv; // Note that if the id was already in use, we will -- cgit v1.2.3-70-g09d2