[Forensics-changes] [yara] 313/407: Remove unused variable

Hilko Bengen bengen at moszumanska.debian.org
Sat Jul 1 10:28:40 UTC 2017


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

bengen pushed a commit to annotated tag v3.3.0
in repository yara.

commit 03b705548942e612cada5005f9733c97abfd7250
Author: Victor M. Alvarez <plusvic at gmail.com>
Date:   Mon Jan 5 11:42:16 2015 +0100

    Remove unused variable
---
 libyara/modules/math.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/libyara/modules/math.c b/libyara/modules/math.c
index 06d321c..9731952 100644
--- a/libyara/modules/math.c
+++ b/libyara/modules/math.c
@@ -214,7 +214,6 @@ define_function(string_mean)
   double sum = 0.0;
 
   SIZED_STRING* s = sized_string_argument(1);
-  double mean = double_argument(2);
 
   for (i = 0; i < s->length; i++)
     sum += (double) s->c_string[i];
@@ -233,7 +232,6 @@ define_function(data_mean)
 
   int64_t offset = integer_argument(1);
   int64_t length = integer_argument(2);
-  double mean = double_argument(3);
 
   YR_SCAN_CONTEXT* context = scan_context();
   YR_MEMORY_BLOCK* block = NULL;

-- 
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