[Forensics-changes] [yara] 124/415: Shut up compiler warning

Hilko Bengen bengen at moszumanska.debian.org
Thu Apr 3 05:42:53 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 4d25b8d8c828b958d840e2bfb957c32239d40da2
Author: Victor M. Alvarez <plusvic at gmail.com>
Date:   Mon Apr 23 20:41:48 2012 +0000

    Shut up compiler warning
---
 yara-python/yara-python.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/yara-python/yara-python.c b/yara-python/yara-python.c
index 1182939..4c5bc7e 100644
--- a/yara-python/yara-python.c
+++ b/yara-python/yara-python.c
@@ -189,7 +189,7 @@ static PyObject * Match_getattro(PyObject *self, PyObject *name)
 
 static PyObject * Match_richcompare(PyObject *self, PyObject *other, int op)
 {
-    PyObject* result;
+    PyObject* result = NULL;
     
     Match *a = (Match *) self;
     Match *b = (Match *) other;

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