Skip to content

Commit 753119d

Browse files
committed
Removing whitespace and dead comments
1 parent 58f485e commit 753119d

File tree

3 files changed

+0
-9
lines changed

3 files changed

+0
-9
lines changed

include/libdbc/message.hpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,6 @@ struct Message {
2121
ErrorInvalidConversion,
2222
};
2323

24-
/*!
25-
* \brief parseSignals
26-
* \param data
27-
* \param values
28-
* \return
29-
*/
3024
ParseSignalsStatus parseSignals(const std::vector<uint8_t>& data, std::vector<double>& values) const;
3125

3226
void appendSignal(const Signal& signal);

src/dbc.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -223,9 +223,7 @@ void DbcParser::parse_dbc_header(std::istream& file_stream) {
223223
version = match.str(2);
224224

225225
utils::StreamHandler::get_next_non_blank_line(file_stream, line);
226-
227226
utils::StreamHandler::skip_to_next_blank_line(file_stream, line);
228-
229227
utils::StreamHandler::get_next_non_blank_line(file_stream, line);
230228

231229
if (!std::regex_search(line, match, bit_timing_re)) {

src/utils.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ std::string String::trim(const std::string& line) {
7575
double String::convert_to_double(const std::string& value, double default_value) {
7676
double converted_value = default_value;
7777
fast_float::from_chars(value.data(), value.data() + value.size(), converted_value);
78-
// converted_value = std::stod(value);
7978
return converted_value;
8079
}
8180

0 commit comments

Comments
 (0)