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/i2c.py | 2 -- 1 file changed, 2 deletions(-) (limited to 'decoders/i2c.py') diff --git a/decoders/i2c.py b/decoders/i2c.py index 6982798..b8c56f7 100644 --- a/decoders/i2c.py +++ b/decoders/i2c.py @@ -149,8 +149,6 @@ class Decoder(srd.Decoder): ] def __init__(self, **kwargs): - self.out_proto = None - self.out_ann = None self.samplecnt = 0 self.bitcount = 0 self.databyte = 0 -- cgit v1.2.3-70-g09d2