mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
[hal] Remove useless usage reporting return (#8625)
The value is not used anywhere and it also just returns 0 (was a value from Netcomm in pre-2027).
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
|
||||
#include <fmt/format.h>
|
||||
|
||||
int32_t HAL_ReportUsage(std::string_view resource, int instanceNumber,
|
||||
std::string_view data) {
|
||||
return HAL_ReportUsage(fmt::format("{}[{}]", resource, instanceNumber), data);
|
||||
void HAL_ReportUsage(std::string_view resource, int instanceNumber,
|
||||
std::string_view data) {
|
||||
HAL_ReportUsage(fmt::format("{}[{}]", resource, instanceNumber), data);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user