Skip to content

Commit

Permalink
Removing whitespace and dead comments
Browse files Browse the repository at this point in the history
  • Loading branch information
LinuxDevon committed Feb 2, 2024
1 parent 58f485e commit 753119d
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 9 deletions.
6 changes: 0 additions & 6 deletions include/libdbc/message.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,6 @@ struct Message {
ErrorInvalidConversion,
};

/*!
* \brief parseSignals
* \param data
* \param values
* \return
*/
ParseSignalsStatus parseSignals(const std::vector<uint8_t>& data, std::vector<double>& values) const;

void appendSignal(const Signal& signal);
Expand Down
2 changes: 0 additions & 2 deletions src/dbc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -223,9 +223,7 @@ void DbcParser::parse_dbc_header(std::istream& file_stream) {
version = match.str(2);

utils::StreamHandler::get_next_non_blank_line(file_stream, line);

utils::StreamHandler::skip_to_next_blank_line(file_stream, line);

utils::StreamHandler::get_next_non_blank_line(file_stream, line);

if (!std::regex_search(line, match, bit_timing_re)) {
Expand Down
1 change: 0 additions & 1 deletion src/utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ std::string String::trim(const std::string& line) {
double String::convert_to_double(const std::string& value, double default_value) {
double converted_value = default_value;
fast_float::from_chars(value.data(), value.data() + value.size(), converted_value);
// converted_value = std::stod(value);
return converted_value;
}

Expand Down

0 comments on commit 753119d

Please sign in to comment.