mirror of
https://gitee.com/openharmony/telephony_core_service
synced 2024-11-23 08:00:07 +00:00
modify demo style
Signed-off-by: wuqi <wuqi108@h-partners.com>
This commit is contained in:
parent
63a9687300
commit
fe3f47bc00
@ -136,21 +136,20 @@ std::shared_ptr<Asn1Node> Asn1Node::Asn1GetGrandson(const uint32_t firstLevelTag
|
||||
{
|
||||
std::shared_ptr<Asn1Node> resultNode = nullptr;
|
||||
resultNode = Asn1GetChild(firstLevelTag);
|
||||
if (resultNode == nullptr)
|
||||
{
|
||||
if (resultNode == nullptr) {
|
||||
return nullptr;
|
||||
}
|
||||
resultNode = resultNode->Asn1GetChild(secondLevelTag);
|
||||
return resultNode;
|
||||
|
||||
}
|
||||
|
||||
std::shared_ptr<Asn1Node> Asn1Node::Asn1GetGreatGrandson(const uint32_t firstLevelTag, const uint32_t secondLevelTag,
|
||||
const uint32_t thirdLevelTag)
|
||||
{
|
||||
std::shared_ptr<Asn1Node> resultNode = nullptr;
|
||||
resultNode = Asn1GetGrandson(firstLevelTag, secondLevelTag);
|
||||
if (resultNode == nullptr)
|
||||
{
|
||||
if (resultNode == nullptr) {
|
||||
return nullptr;
|
||||
}
|
||||
resultNode = resultNode->Asn1GetChild(thirdLevelTag);
|
||||
|
Loading…
Reference in New Issue
Block a user