mirror of
https://github.com/javalsai/lidm.git
synced 2025-07-05 15:28:42 +02:00
style: satisfy clang-tidy
This commit is contained in:
parent
3fb74ece44
commit
736e816509
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user