Declare with static

This commit is contained in:
Zhuo Lu 2017-11-20 17:56:00 -08:00 committed by Cheng Zhao
parent 0c4e425872
commit 4934685f53

View file

@ -56,10 +56,10 @@ Role kRolesMap[] = {
} // namespace
// Menu item is located for ease of removing it from the parent owner
NSMenuItem* recentDocumentsMenuItem_ = nil;
static NSMenuItem* recentDocumentsMenuItem_ = nil;
// TODO(sethlu): Doc & find a better naming
NSMenu* swapMenu_ = nil;
static NSMenu* swapMenu_ = nil;
@implementation AtomMenuController