From 7c2489cc3dc798484e11a449fd0e305210de901b Mon Sep 17 00:00:00 2001
From: gcontini <1121667+gcontini@users.noreply.github.com>
Date: 周六, 14 12月 2019 20:12:41 +0800
Subject: [PATCH] fix codacy warnings

---
 src/templates/licensecc_properties.h.in |   12 +++---------
 1 files changed, 3 insertions(+), 9 deletions(-)

diff --git a/src/templates/licensecc_properties.h.in b/src/templates/licensecc_properties.h.in
index 8c92c93..c1af888 100644
--- a/src/templates/licensecc_properties.h.in
+++ b/src/templates/licensecc_properties.h.in
@@ -2,20 +2,14 @@
 #define BUILD_PROPERTIES_H_
 
 #define LCC_PROJECT_NAME "@LCC_PROJECT_NAME@"
-#define PROJECT_INT_VERSION @LICENSECC_INT_VERSION@
-#define PROJECT_VERSION "@LICENSECC_VERSION@"
 
 //License retrieval configuration
-#define FIND_LICENSE_NEAR_MODULE 1
-#define FIND_LICENSE_WITH_ENV_VAR 1
+#define FIND_LICENSE_NEAR_MODULE true
+#define FIND_LICENSE_WITH_ENV_VAR false
 
+#define LICENSE_FILE_EXTENSION ".lic"
 #define LICENSE_LOCATION_ENV_VAR "LICENSE_LOCATION"
 #define LICENSE_DATA_ENV_VAR "LICENSE_DATA"
-
-//define api structure sizes
-#define PC_IDENTIFIER_SIZE 18
-#define PROPRIETARY_DATA_SIZE 16
-#define AUDIT_EVENT_NUM 5
 
 //Internal data structures limits
 #define MAX_LICENSE_LENGTH 256*1024

--
Gitblit v1.9.1