From 827129d7076c9f5367186b38b014ebcbe96004ee Mon Sep 17 00:00:00 2001 From: Florian Pose Date: Tue, 11 Aug 2026 15:55:24 +0200 Subject: [PATCH] Fixed cpplint warnings. --- CPPLINT.cfg | 2 ++ tool/CommandSoeWrite.cpp | 8 ++++---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/CPPLINT.cfg b/CPPLINT.cfg index 9ff7e021..60656277 100644 --- a/CPPLINT.cfg +++ b/CPPLINT.cfg @@ -1,7 +1,9 @@ filter=-build/header_guard filter=-build/include_subdir filter=-build/include_what_you_use +filter=-build/namespaces filter=-readability/braces +filter=-readability/casting filter=-readability/multiline_comment filter=-runtime/int filter=-runtime/printf diff --git a/tool/CommandSoeWrite.cpp b/tool/CommandSoeWrite.cpp index 0b234030..df280843 100644 --- a/tool/CommandSoeWrite.cpp +++ b/tool/CommandSoeWrite.cpp @@ -58,11 +58,11 @@ string CommandSoeWrite::helpString(const string &binaryBaseName) const << " Bit 11 - 0: Data block number" << endl << " or a string like 'P-0-150'." << endl << " VALUE is the value to write (see below)." << endl - << endl - << "The VALUE argument is interpreted as the given data type" << endl - << "(--type is mandatory) and written to the selected slave." << endl << endl - << typeInfo() + << "The VALUE argument is interpreted as the given data type" << endl + << "(--type is mandatory) and written to the selected slave." << endl + << endl + << typeInfo() << endl << "Command-specific options:" << endl << " --alias -a " << endl