File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ class UnixDomainSocketImpl : public boost::enable_shared_from_this<UnixDomainSoc
3636 try {
3737 close ();
3838 } catch (...) {
39- // catch all exceptions.
39+ // Catch and ignore all exceptions.
4040 }
4141 }
4242
Original file line number Diff line number Diff line change @@ -286,7 +286,7 @@ LabelSequence::toRawText(bool omit_final_dot) const {
286286 // use for integrity check
287287 unsigned int labels = getLabelCount ();
288288 // init with an impossible value to catch error cases in the end:
289- // cppcheck complains this value is never used...
289+ // cppcheck-suppress unreadVariable
290290 unsigned int count = Name::MAX_LABELLEN + 1 ;
291291
292292 // result string: it will roughly have the same length as the wire format
@@ -341,7 +341,7 @@ LabelSequence::toText(bool omit_final_dot) const {
341341 // use for integrity check
342342 unsigned int labels = getLabelCount ();
343343 // init with an impossible value to catch error cases in the end:
344- // cppcheck complains this value is never used...
344+ // cppcheck-suppress unreadVariable
345345 unsigned int count = Name::MAX_LABELLEN + 1 ;
346346
347347 // result string: it will roughly have the same length as the wire format
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ class UnlockGuard : public boost::noncopyable {
3636 try {
3737 lock_.lock ();
3838 } catch (...) {
39- // catch all exceptions.
39+ // Catch and ignore all exceptions.
4040 }
4141 }
4242
You can’t perform that action at this time.
0 commit comments