[Forensics-changes] [yara] 190/415: Remove unused testing code

Hilko Bengen bengen at moszumanska.debian.org
Thu Apr 3 05:43:04 UTC 2014


This is an automated email from the git hooks/post-receive script.

bengen pushed a commit to branch debian
in repository yara.

commit 3fee8693f9bce2e5ad58bfca5f8372152b8da7b3
Author: Victor M. Alvarez <plusvic at gmail.com>
Date:   Tue Jul 2 16:31:34 2013 +0000

    Remove unused testing code
---
 libyara/ahocorasick.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/libyara/ahocorasick.c b/libyara/ahocorasick.c
index 52748b2..49602f9 100644
--- a/libyara/ahocorasick.c
+++ b/libyara/ahocorasick.c
@@ -1007,11 +1007,6 @@ int yr_ac_add_string(
   atom_length = *((int*) atoms_cursor);
   atoms_cursor += sizeof(int);
 
-  /*if (atom_length < 3)
-  { yr_free(atoms);
-    return ERROR_SUCCESS;
-  }*/
-
   if (atom_length == 0)
   {
     *min_atom_length = 0;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/forensics/yara.git



More information about the forensics-changes mailing list