Problem: redundant else after return

Solution: remove else
This commit is contained in:
Simon Giesecke
2018-05-25 23:10:10 +02:00
parent 21498700ef
commit 12a97bb769
22 changed files with 154 additions and 163 deletions

View File

@@ -64,9 +64,9 @@ int zmq::msg_t::init (void *data_,
if (rc != -1) {
memcpy (data (), data_, size_);
return 0;
} else {
return -1;
}
return -1;
} else if (content_) {
return init_external_storage (content_, data_, size_, ffn_, hint_);
} else {