diff --git a/test/saithriftv2/src/saiserver.cpp b/test/saithriftv2/src/saiserver.cpp index 80eb013d6..5541500fe 100644 --- a/test/saithriftv2/src/saiserver.cpp +++ b/test/saithriftv2/src/saiserver.cpp @@ -40,8 +40,7 @@ std::map, std::string> gPortMap; std::vector> gFdbMap; -extern sai_object_id_t switch_id; -sai_object_id_t &gSwitchId = switch_id; ///< SAI switch global object ID. +sai_object_id_t gSwitchId; // Profile services