mirror of
https://github.com/javalsai/lidm.git
synced 2025-07-05 23:38:43 +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 (argc == 2) {
|
||||||
if (strcmp(argv[1], "-v") == 0 || strcmp(argv[1], "--version") == 0) {
|
if (strcmp(argv[1], "-v") == 0 || strcmp(argv[1], "--version") == 0) {
|
||||||
|
// NOLINTBEGIN(clang-analyzer-deadcode.DeadStores)
|
||||||
char* version = "?";
|
char* version = "?";
|
||||||
char* revision = "?";
|
char* revision = "?";
|
||||||
char* builddate = "?";
|
char* builddate = "?";
|
||||||
char* compilever = "?";
|
char* compilever = "?";
|
||||||
|
// NOLINTEND(clang-analyzer-deadcode.DeadStores)
|
||||||
#ifdef LIDM_VERSION
|
#ifdef LIDM_VERSION
|
||||||
version = LIDM_VERSION;
|
version = LIDM_VERSION;
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user