From 744f7270877ef544536d5da7582cc99a146b12c3 Mon Sep 17 00:00:00 2001
From: Lay <guoleilam@163.com>
Date: 周六, 21 11月 2020 08:41:51 +0800
Subject: [PATCH] Update comment (#111)

---
 src/library/ini/SimpleIni.h |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/library/ini/SimpleIni.h b/src/library/ini/SimpleIni.h
index f254d2e..7142085 100644
--- a/src/library/ini/SimpleIni.h
+++ b/src/library/ini/SimpleIni.h
@@ -223,7 +223,7 @@
 # include <iostream>
 #endif // SI_SUPPORT_IOSTREAMS
 
-#ifdef _DEBUG
+#ifndef NDEBUG
 # ifndef assert
 #  include <cassert>
 # endif
@@ -1912,7 +1912,7 @@
         if (pComment) {
             DeleteString(a_pComment);
             a_pComment = pComment;
-            CopyString(a_pComment);
+            (void)CopyString(a_pComment);
         }
         Delete(a_pSection, a_pKey);
         iKey = keyval.end();
@@ -2488,7 +2488,7 @@
 
         bNeedNewLine = true;
     }
-    
+
     // Append new empty line
     a_oOutput.Write(SI_NEWLINE_A);
 

--
Gitblit v1.9.1