From 987574c123653e6f23a5e543f334dab86b713a72 Mon Sep 17 00:00:00 2001 From: Jalal El Mansouri Date: Fri, 17 Jul 2020 14:32:15 -0400 Subject: [PATCH] Fix warning --- lib/process_wrapper/utils.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/process_wrapper/utils.cc b/lib/process_wrapper/utils.cc index ccfaf22..8d3a1b8 100644 --- a/lib/process_wrapper/utils.cc +++ b/lib/process_wrapper/utils.cc @@ -55,8 +55,8 @@ bool ReadFileToArray(const System::StrType& file_path, continue; } - // a \ at the end of a line allows us to escape the new line break, \\ - // yields a single \, so \\\ translates to a single \ and a new line escape + // a \ at the end of a line allows us to escape the new line break, + // \\ yields a single \, so \\\ translates to a single \ and a new line escape int end_backslash_count = 0; for (std::string::reverse_iterator rit = read_line.rbegin(); rit != read_line.rend() && *rit == '\\'; ++rit) {