[Forensics-changes] [yara] 150/160: Remove unused variable

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


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

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

commit de462aec6af36829a3d2a8afbd951bcdee8ce0ff
Author: Victor M. Alvarez <plusvic at gmail.com>
Date:   Thu Jun 4 18:58:17 2015 +0200

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

diff --git a/libyara/modules/pe.c b/libyara/modules/pe.c
index 4f807b1..848822d 100644
--- a/libyara/modules/pe.c
+++ b/libyara/modules/pe.c
@@ -376,7 +376,6 @@ int64_t pe_rva_to_offset(
 
   DWORD section_rva = 0;
   DWORD section_offset = 0;
-  DWORD section_virtual_size = 0;
   DWORD section_raw_size = 0;
 
   int i = 0;
@@ -390,7 +389,6 @@ int64_t pe_rva_to_offset(
       {
         section_rva = section->VirtualAddress;
         section_offset = section->PointerToRawData;
-        section_virtual_size = section->Misc.VirtualSize;
         section_raw_size = section->SizeOfRawData;
       }
 

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