aboutsummaryrefslogtreecommitdiff
path: root/src/device_registration_info.h
diff options
context:
space:
mode:
authorAlex Vakulenko <avakulenko@google.com>2015-12-08 13:19:49 -0800
committerAlex Vakulenko <avakulenko@google.com>2015-12-08 22:28:02 +0000
commit2033433d222c8c8aa56c94660e8e823dac71f45d (patch)
tree4a6beb3f139457be2a7f8bd226e5dd75ab13fbfc /src/device_registration_info.h
parentf1fa8be44721c3e37e835a0dbd66e777200daf52 (diff)
downloadlibweave-2033433d222c8c8aa56c94660e8e823dac71f45d.tar.gz
Fix a crash when adding a default command handler
It is allowed to call ComponentManager::AddCommandHandler with empty component and command name to indicate that we are installing a default command handler. The CHECK() condition should be only verified if a specific command handler is specified. Change-Id: Ib4c0f633e5e4ddc396a4f5030a6ebd4e411f911e Reviewed-on: https://weave-review.googlesource.com/1820 Reviewed-by: Vitaly Buka <vitalybuka@google.com>
Diffstat (limited to 'src/device_registration_info.h')
0 files changed, 0 insertions, 0 deletions