Skip to content

Commit

Permalink
Fix warning in BMW_E65::GetGear
Browse files Browse the repository at this point in the history
Teh parameter outGear is currently unused so mark it
as such to stop the compiler moaning.
  • Loading branch information
davefiddes committed Sep 24, 2024
1 parent a8e9e37 commit 33f52c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/BMW_E65.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ void BMW_E65::Engine_Data()

}

bool BMW_E65::GetGear(Vehicle::gear& outGear)
bool BMW_E65::GetGear(Vehicle::gear& outGear __attribute__((unused)))
{
return false;
}

0 comments on commit 33f52c5

Please sign in to comment.