Bruno Jesus : advpack/tests: Remove dead assignment (Cppcheck).

Alexandre Julliard julliard at wine.codeweavers.com
Fri Oct 31 02:53:36 CDT 2014


Module: wine
Branch: master
Commit: c1b2fc3c4f89efd753abf17272600c9ae7c5fbe5
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=c1b2fc3c4f89efd753abf17272600c9ae7c5fbe5

Author: Bruno Jesus <00cpxxx at gmail.com>
Date:   Thu Oct 30 23:16:14 2014 -0200

advpack/tests: Remove dead assignment (Cppcheck).

---

 dlls/advpack/tests/advpack.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/dlls/advpack/tests/advpack.c b/dlls/advpack/tests/advpack.c
index f3e70d7..5b9ed42 100644
--- a/dlls/advpack/tests/advpack.c
+++ b/dlls/advpack/tests/advpack.c
@@ -187,7 +187,6 @@ static void delnode_test(void)
     CloseHandle(hn);
     hr = pDelNode(lstrcatA(currDir, "\\DelNodeTestDir"), 0);
     ok (hr == S_OK, "DelNode failed deleting a directory containing multiple files\n");
-    currDir[currDirLen] = '\0';
 }
 
 static void append_str(char **str, const char *data, ...)




More information about the wine-cvs mailing list