OSDN Git Service

PATCH: [ 1393979 ] Delete unused DiffWrapper fnc cleanup_script
authorPerry Rapp <elsapo@users.sourceforge.net>
Sat, 31 Dec 2005 19:44:19 +0000 (19:44 +0000)
committerPerry Rapp <elsapo@users.sourceforge.net>
Sat, 31 Dec 2005 19:44:19 +0000 (19:44 +0000)
  Src: DiffWrapper.cpp

Src/Changes.txt
Src/DiffWrapper.cpp

index c145997..172afed 100644 (file)
@@ -2,6 +2,8 @@
  PATCH: [ 1394247 ] Fix GuessEncoding recognition of codepages
  BUG: [ 1394234 ] GuessEncodings fails to recognize CP-437
   Src: codepage_detect.cpp
+ PATCH: [ 1393979 ] Delete unused DiffWrapper fnc cleanup_script
+  Src: DiffWrapper.cpp
 
 2005-12-30 Perry
  PATCH: [ 1391732 ] Do not offer to unify codepages in UNICODE build
index af749bd..285c140 100644 (file)
@@ -1240,18 +1240,6 @@ extern "C" void moved_block_analysis(struct change ** pscript, struct file_data
 
 }
 
-void cleanup_script(struct change ** pscript)
-{
-       struct change * script = *pscript;
-       struct change *p,*e;
-       for (e = script; e; e = p)
-       {
-               p = e->link;
-               free (e);
-       }
-       *pscript = 0;
-}
-
 /**
  * @brief Invoke appropriate plugins for unpacking
  * return false if anything fails