[Forensics-changes] [yara] 350/368: Remove unused variables

Hilko Bengen bengen at moszumanska.debian.org
Sat Jul 1 10:30:57 UTC 2017


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

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

commit c6e9950ba12fc16b82d67793601215c5d41add96
Author: plusvic <plusvic at gmail.com>
Date:   Wed Jun 29 19:44:01 2016 +0200

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

diff --git a/libyara/modules/magic.c b/libyara/modules/magic.c
index f7beb23..85e9874 100644
--- a/libyara/modules/magic.c
+++ b/libyara/modules/magic.c
@@ -48,7 +48,6 @@ define_function(magic_mime_type)
 {
   YR_MEMORY_BLOCK* block;
   YR_SCAN_CONTEXT* context = scan_context();
-  YR_MEMORY_BLOCK_ITERATOR* iterator = context->iterator;
 
   uint8_t* block_data;
 
@@ -82,7 +81,6 @@ define_function(magic_type)
 {
   YR_MEMORY_BLOCK* block;
   YR_SCAN_CONTEXT* context = scan_context();
-  YR_MEMORY_BLOCK_ITERATOR* iterator = context->iterator;
 
   uint8_t* block_data;
 

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