style: satisfy clang-tidy

This commit is contained in:
2025-07-04 15:50:18 +02:00
parent 3fb74ece44
commit 736e816509

View File

@@ -34,10 +34,12 @@ int main(int argc, char* argv[]) {
if (argc == 2) {
if (strcmp(argv[1], "-v") == 0 || strcmp(argv[1], "--version") == 0) {
// NOLINTBEGIN(clang-analyzer-deadcode.DeadStores)
char* version = "?";
char* revision = "?";
char* builddate = "?";
char* compilever = "?";
// NOLINTEND(clang-analyzer-deadcode.DeadStores)
#ifdef LIDM_VERSION
version = LIDM_VERSION;
#endif