Skip to content

Commit 8dd2681

Browse files
committed
Add cppcheck-suppress flag to avoid warning
1 parent bf4fff9 commit 8dd2681

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/unique_id.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ std::string UniqueId::ethernetMacAddress() {
229229

230230
return std::string(reinterpret_cast<const char *>(mac));
231231
#if defined(__linux__) || defined(__gnu_linux__) || defined(DARWIN) || defined(WIN32)
232-
failed:
232+
failed: // cppcheck-suppress unusedLabelConfiguration
233233
return std::string("");
234234
#endif
235235
}

0 commit comments

Comments
 (0)