diff options
| author | Garrett D'Amore <garrett@damore.org> | 2017-08-23 13:20:24 -0700 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2017-08-23 21:14:19 -0700 |
| commit | 2ec64a78da8df01ec534161475a87989ae527776 (patch) | |
| tree | 430d4289ca56e123cf2b2be76cf90a6c346bf27c /src/core | |
| parent | 8ad296769192cf4628710ac0b228be2aca6d8dad (diff) | |
| download | nng-2ec64a78da8df01ec534161475a87989ae527776.tar.gz nng-2ec64a78da8df01ec534161475a87989ae527776.tar.bz2 nng-2ec64a78da8df01ec534161475a87989ae527776.zip | |
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.
Diffstat (limited to 'src/core')
| -rw-r--r-- | src/core/options.c | 1 |
1 files changed, 0 insertions, 1 deletions
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 |
