Core: removed unused var in DockManager.