From ac1808b3b87b064cf40debc2cae7b1d8b458bfb2 Mon Sep 17 00:00:00 2001 From: ferdymercury <ferdymercury@users.noreply.github.com> Date: Mon, 3 Jun 2024 17:47:17 +0200 Subject: [PATCH] [skip-ci] stray parenthesis in comment --- io/io/src/TBufferJSON.cxx | 2 +- io/sql/src/TBufferSQL2.cxx | 2 +- io/xml/src/TBufferXML.cxx | 2 +- tree/tree/src/TBufferSQL.cxx | 28 ++++++++++++++-------------- 4 files changed, 17 insertions(+), 17 deletions(-) diff --git a/io/io/src/TBufferJSON.cxx b/io/io/src/TBufferJSON.cxx index 9076f5fdcaf85..3ac38da44e9c7 100644 --- a/io/io/src/TBufferJSON.cxx +++ b/io/io/src/TBufferJSON.cxx @@ -3268,7 +3268,7 @@ void TBufferJSON::JsonWriteFastArray(const T *arr, Long64_t arrsize, const char if (arrsize > maxElements) { Fatal("JsonWriteFastArray", "Not enough space left in the buffer (1GB limit). %lld elements is greater than the max left of %d", arrsize, maxElements); - return; // In case the user re-routes the error handler to not die when Fatal is called) + return; // In case the user re-routes the error handler to not die when Fatal is called } TStreamerElement *elem = Stack()->fElem; diff --git a/io/sql/src/TBufferSQL2.cxx b/io/sql/src/TBufferSQL2.cxx index 59cb164b3925c..bfa0d33c479d5 100644 --- a/io/sql/src/TBufferSQL2.cxx +++ b/io/sql/src/TBufferSQL2.cxx @@ -1381,7 +1381,7 @@ R__ALWAYS_INLINE void TBufferSQL2::SqlWriteArray(T *arr, Long64_t arrsize, Bool_ if (arrsize < 0 || arrsize > maxElements) { Fatal("SqlWriteArray", "Not enough space left in the buffer (1GB limit). %lld elements is greater than the max left of %d", arrsize, maxElements); - return; // In case the user re-routes the error handler to not die when Fatal is called) + return; // In case the user re-routes the error handler to not die when Fatal is called } if (!withsize && (arrsize <= 0)) return; diff --git a/io/xml/src/TBufferXML.cxx b/io/xml/src/TBufferXML.cxx index 3eef4613b12af..79d1938e12587 100644 --- a/io/xml/src/TBufferXML.cxx +++ b/io/xml/src/TBufferXML.cxx @@ -2165,7 +2165,7 @@ R__ALWAYS_INLINE void TBufferXML::XmlWriteFastArray(const T *arr, Long64_t n) if (n < 0 || n > maxElements) { Fatal("XmlWriteFastArray", "Not enough space left in the buffer (1GB limit). %lld elements is greater than the max left of %d", n, maxElements); - return; // In case the user re-routes the error handler to not die when Fatal is called) + return; // In case the user re-routes the error handler to not die when Fatal is called } BeforeIOoperation(); if (n <= 0) diff --git a/tree/tree/src/TBufferSQL.cxx b/tree/tree/src/TBufferSQL.cxx index d552bcd8a3e64..4d04c7da88b24 100644 --- a/tree/tree/src/TBufferSQL.cxx +++ b/tree/tree/src/TBufferSQL.cxx @@ -431,7 +431,7 @@ void TBufferSQL::WriteFastArray(const bool *b, Long64_t n) if (n < 0 || n > maxElements) { Fatal("WriteFastArray", "Not enough space left in the buffer (1GB limit). %lld elements is greater than the max left of %d", n, maxElements); - return; // In case the user re-routes the error handler to not die when Fatal is called) + return; // In case the user re-routes the error handler to not die when Fatal is called } for(int i=0; i<n; ++i) { (*fInsertQuery) += b[i]; @@ -451,7 +451,7 @@ void TBufferSQL::WriteFastArray(const Char_t *c, Long64_t n) if (n < 0 || n > maxElements) { Fatal("WriteFastArray", "Not enough space left in the buffer (1GB limit). %lld elements is greater than the max left of %d", n, maxElements); - return; // In case the user re-routes the error handler to not die when Fatal is called) + return; // In case the user re-routes the error handler to not die when Fatal is called } for(int i=0; i<n; ++i) { (*fInsertQuery) += (Short_t)c[i]; @@ -471,7 +471,7 @@ void TBufferSQL::WriteFastArrayString(const Char_t *c, Long64_t /* n */) if (maxElements < 1) { Fatal("WriteFastArrayString", "Not enough space left in the buffer (1GB limit). %lld elements is greater than the max left of %d", 1LL, maxElements); - return; // In case the user re-routes the error handler to not die when Fatal is called) + return; // In case the user re-routes the error handler to not die when Fatal is called } (*fInsertQuery) += "\""; (*fInsertQuery) += c; @@ -490,7 +490,7 @@ void TBufferSQL::WriteFastArray(const UChar_t *uc, Long64_t n) if (n < 0 || n > maxElements) { Fatal("WriteFastArray", "Not enough space left in the buffer (1GB limit). %lld elements is greater than the max left of %d", n, maxElements); - return; // In case the user re-routes the error handler to not die when Fatal is called) + return; // In case the user re-routes the error handler to not die when Fatal is called } for(int i=0; i<n; ++i) { (*fInsertQuery) += uc[i]; @@ -510,7 +510,7 @@ void TBufferSQL::WriteFastArray(const Short_t *h, Long64_t n) if (n < 0 || n > maxElements) { Fatal("WriteFastArray", "Not enough space left in the buffer (1GB limit). %lld elements is greater than the max left of %d", n, maxElements); - return; // In case the user re-routes the error handler to not die when Fatal is called) + return; // In case the user re-routes the error handler to not die when Fatal is called } for(int i=0; i<n; ++i) { (*fInsertQuery) += h[i]; @@ -531,7 +531,7 @@ void TBufferSQL::WriteFastArray(const UShort_t *us, Long64_t n) if (n < 0 || n > maxElements) { Fatal("WriteFastArray", "Not enough space left in the buffer (1GB limit). %lld elements is greater than the max left of %d", n, maxElements); - return; // In case the user re-routes the error handler to not die when Fatal is called) + return; // In case the user re-routes the error handler to not die when Fatal is called } for(int i=0; i<n; ++i) { (*fInsertQuery) += us[i]; @@ -551,7 +551,7 @@ void TBufferSQL::WriteFastArray(const Int_t *ii, Long64_t n) if (n < 0 || n > maxElements) { Fatal("WriteFastArray", "Not enough space left in the buffer (1GB limit). %lld elements is greater than the max left of %d", n, maxElements); - return; // In case the user re-routes the error handler to not die when Fatal is called) + return; // In case the user re-routes the error handler to not die when Fatal is called } // std::cerr << "Column: " <<*fIter << " i:" << *ii << std::endl; for(int i=0; i<n; ++i) { @@ -572,7 +572,7 @@ void TBufferSQL::WriteFastArray(const UInt_t *ui, Long64_t n) if (n < 0 || n > maxElements) { Fatal("WriteFastArray", "Not enough space left in the buffer (1GB limit). %lld elements is greater than the max left of %d", n, maxElements); - return; // In case the user re-routes the error handler to not die when Fatal is called) + return; // In case the user re-routes the error handler to not die when Fatal is called } for(int i=0; i<n; ++i) { (*fInsertQuery) += ui[i]; @@ -592,7 +592,7 @@ void TBufferSQL::WriteFastArray(const Long_t *l, Long64_t n) if (n < 0 || n > maxElements) { Fatal("WriteFastArray", "Not enough space left in the buffer (1GB limit). %lld elements is greater than the max left of %d", n, maxElements); - return; // In case the user re-routes the error handler to not die when Fatal is called) + return; // In case the user re-routes the error handler to not die when Fatal is called } for(int i=0; i<n; ++i) { (*fInsertQuery)+= l[i]; @@ -612,7 +612,7 @@ void TBufferSQL::WriteFastArray(const ULong_t *ul, Long64_t n) if (n < 0 || n > maxElements) { Fatal("WriteFastArray", "Not enough space left in the buffer (1GB limit). %lld elements is greater than the max left of %d", n, maxElements); - return; // In case the user re-routes the error handler to not die when Fatal is called) + return; // In case the user re-routes the error handler to not die when Fatal is called } for(int i=0; i<n; ++i) { (*fInsertQuery) += ul[i]; @@ -632,7 +632,7 @@ void TBufferSQL::WriteFastArray(const Long64_t *l, Long64_t n) if (n < 0 || n > maxElements) { Fatal("WriteFastArray", "Not enough space left in the buffer (1GB limit). %lld elements is greater than the max left of %d", n, maxElements); - return; // In case the user re-routes the error handler to not die when Fatal is called) + return; // In case the user re-routes the error handler to not die when Fatal is called } for(int i=0; i<n; ++i) { (*fInsertQuery) += l[i]; @@ -652,7 +652,7 @@ void TBufferSQL::WriteFastArray(const ULong64_t *ul, Long64_t n) if (n < 0 || n > maxElements) { Fatal("WriteFastArray", "Not enough space left in the buffer (1GB limit). %lld elements is greater than the max left of %d", n, maxElements); - return; // In case the user re-routes the error handler to not die when Fatal is called) + return; // In case the user re-routes the error handler to not die when Fatal is called } for(int i=0; i<n; ++i) { (*fInsertQuery) += ul[i]; @@ -672,7 +672,7 @@ void TBufferSQL::WriteFastArray(const Float_t *f, Long64_t n) if (n < 0 || n > maxElements) { Fatal("WriteFastArray", "Not enough space left in the buffer (1GB limit). %lld elements is greater than the max left of %d", n, maxElements); - return; // In case the user re-routes the error handler to not die when Fatal is called) + return; // In case the user re-routes the error handler to not die when Fatal is called } for(int i=0; i<n; ++i) { (*fInsertQuery) += f[i]; @@ -692,7 +692,7 @@ void TBufferSQL::WriteFastArray(const Double_t *d, Long64_t n) if (n < 0 || n > maxElements) { Fatal("WriteFastArray", "Not enough space left in the buffer (1GB limit). %lld elements is greater than the max left of %d", n, maxElements); - return; // In case the user re-routes the error handler to not die when Fatal is called) + return; // In case the user re-routes the error handler to not die when Fatal is called } for(int i=0; i<n; ++i) { (*fInsertQuery) += d[i];