Skip to content

Commit 39625f1

Browse files
committed
stats: drop copyright notice from stats/client.cpp
This marks the completion of our transition from code based on `talebook/statsd-client-cpp` to code based on `vthiery/cpp-statsd-client`. Also, we long stopped using `snprintf`, remove it from exclusions list.
1 parent 18a2e48 commit 39625f1

File tree

3 files changed

+0
-32
lines changed

3 files changed

+0
-32
lines changed

contrib/devtools/copyright_header.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
'src/crypto/*',
2727
'src/ctpl_stl.h',
2828
'src/reverse_iterator.h',
29-
'src/stats/client.cpp',
3029
'src/test/fuzz/FuzzedDataProvider.h',
3130
'src/tinyformat.h',
3231
'src/bench/nanobench.h',

src/stats/client.cpp

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -4,36 +4,6 @@
44
// Distributed under the MIT software license, see the accompanying
55
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
66

7-
/**
8-
Copyright (c) 2014, Rex
9-
All rights reserved.
10-
11-
Redistribution and use in source and binary forms, with or without
12-
modification, are permitted provided that the following conditions are met:
13-
14-
* Redistributions of source code must retain the above copyright notice, this
15-
list of conditions and the following disclaimer.
16-
17-
* Redistributions in binary form must reproduce the above copyright notice,
18-
this list of conditions and the following disclaimer in the documentation
19-
and/or other materials provided with the distribution.
20-
21-
* Neither the name of the {organization} nor the names of its
22-
contributors may be used to endorse or promote products derived from
23-
this software without specific prior written permission.
24-
25-
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
26-
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
27-
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
28-
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
29-
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
30-
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
31-
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
32-
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
33-
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
34-
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
35-
**/
36-
377
#include <stats/client.h>
388

399
#include <stats/rawsender.h>

test/lint/lint-locale-dependence.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ KNOWN_VIOLATIONS=(
4545
"src/bitcoin-tx.cpp.*stoul"
4646
"src/dbwrapper.cpp:.*vsnprintf"
4747
"src/rest.cpp:.*strtol"
48-
"src/stats/client.cpp:.*snprintf"
4948
"src/test/dbwrapper_tests.cpp:.*snprintf"
5049
"src/test/fuzz/locale.cpp"
5150
"src/test/fuzz/string.cpp"

0 commit comments

Comments
 (0)