diff --git a/src/Channel.cpp b/src/Channel.cpp index d8f9357d..4ba7b47f 100644 --- a/src/Channel.cpp +++ b/src/Channel.cpp @@ -22,8 +22,8 @@ Channel::Channel(const std::string name, , position(position) , conversion(conversion) , samplingRate(samplingRate) - , bitVolts(bitVolts) , comments(comments) + , bitVolts(bitVolts) { } diff --git a/tests/reader.cpp b/tests/reader.cpp index 9f837111..6227d882 100644 --- a/tests/reader.cpp +++ b/tests/reader.cpp @@ -43,7 +43,7 @@ int readerFunction(const std::string& path, const std::string& dataPath) if (dsetSizes[0] >= dsetSizes[2]) { return -1; } - } catch (const FileIException& error) { + } catch (const FileIException&) { return -1; }