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

---
 include/licensecc/licensecc.h |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/include/licensecc/licensecc.h b/include/licensecc/licensecc.h
index be6f57d..353eba8 100644
--- a/include/licensecc/licensecc.h
+++ b/include/licensecc/licensecc.h
@@ -20,9 +20,7 @@
  * This method calculate the pc identifier. The string has to be shown
  * to the user in order to calculate the license.
  */
-void identify_pc(IDENTIFICATION_STRATEGY pc_id_method,
-		char chbuffer[PC_IDENTIFIER_SIZE + 1]);
-
+bool identify_pc(IDENTIFICATION_STRATEGY pc_id_method, char* identifier_out, size_t bufSize);
 
 /**
  * This method is used to request the use of one license for a product.

--
Gitblit v1.9.1