From 253547e35343aed844e7bcb033c610409fcbd21e Mon Sep 17 00:00:00 2001 From: Fabrice Desclaux Date: Tue, 21 Aug 2018 08:27:40 +0200 Subject: Code cleaning: lgtm.com --- miasm2/core/objc.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'miasm2/core/objc.py') diff --git a/miasm2/core/objc.py b/miasm2/core/objc.py index 80f1e341..9649514d 100644 --- a/miasm2/core/objc.py +++ b/miasm2/core/objc.py @@ -464,6 +464,9 @@ class CGenInt(CGen): return (super(CGenInt, self).__eq__(other) and self._integer == other.integer) + def __ne__(self, other): + return not self.__eq__(other) + def to_c(self): """Generate corresponding C""" -- cgit 1.4.1