Skip to content

Commit

Permalink
mapport: drop unnecessary function
Browse files Browse the repository at this point in the history
  • Loading branch information
darosior committed Oct 29, 2024
1 parent 2a6536c commit 9bd936f
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/mapport.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -161,14 +161,9 @@ static void DispatchMapPort()
}
}

static void MapPortProtoSetEnabled(bool enabled)
{
g_mapport_enabled = enabled;
}

void StartMapPort(bool enable)
{
MapPortProtoSetEnabled(enable);
g_mapport_enabled = enable;
DispatchMapPort();
}

Expand Down

0 comments on commit 9bd936f

Please sign in to comment.