Skip to content

Commit

Permalink
remove unused variables (#16933)
Browse files Browse the repository at this point in the history
Signed-off-by: giantcroc <1204449533@qq.com>
  • Loading branch information
giantcroc committed Jun 21, 2021
1 parent 7b492bd commit ed81f0c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions source/common/config/subscription_factory_impl.cc
Expand Up @@ -29,7 +29,6 @@ SubscriptionPtr SubscriptionFactoryImpl::subscriptionFromConfigSource(
Stats::Scope& scope, SubscriptionCallbacks& callbacks, OpaqueResourceDecoder& resource_decoder,
const SubscriptionOptions& options) {
Config::Utility::checkLocalInfo(type_url, local_info_);
std::unique_ptr<Subscription> result;
SubscriptionStats stats = Utility::generateStats(scope);

switch (config.config_source_specifier_case()) {
Expand Down Expand Up @@ -103,7 +102,6 @@ SubscriptionPtr SubscriptionFactoryImpl::collectionSubscriptionFromUrl(
const envoy::config::core::v3::ConfigSource& config, absl::string_view resource_type,
Stats::Scope& scope, SubscriptionCallbacks& callbacks,
OpaqueResourceDecoder& resource_decoder) {
std::unique_ptr<Subscription> result;
SubscriptionStats stats = Utility::generateStats(scope);

switch (collection_locator.scheme()) {
Expand Down

0 comments on commit ed81f0c

Please sign in to comment.