From d0e93c76e381eff58ca23949301f781b24ba4a8b Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Tue, 10 Jan 2012 22:12:46 +0100 Subject: srd: Drop useless out_ann/out_proto init. If those variables are used before start() was called, that's a bug anyway. --- decoders/nunchuk.py | 3 --- 1 file changed, 3 deletions(-) (limited to 'decoders/nunchuk.py') diff --git a/decoders/nunchuk.py b/decoders/nunchuk.py index 009459d..86ec171 100644 --- a/decoders/nunchuk.py +++ b/decoders/nunchuk.py @@ -77,9 +77,6 @@ class Decoder(srd.Decoder): options = {} def __init__(self, **kwargs): - self.out_proto = None - self.out_ann = None - self.state = IDLE # TODO: Can we assume a certain initial state? self.sx = self.sy = self.ax = self.ay = self.az = self.bz = self.bc = 0 -- cgit v1.2.3-70-g09d2