From 10c10dc81402e616b22c536f5b06d9471330c608 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Mon, 22 Oct 2012 19:28:37 +0200 Subject: [PATCH] Remove code for unused local var --- zlint/zlint.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/zlint/zlint.cpp b/zlint/zlint.cpp index 11e6ccd..0c596e3 100644 --- a/zlint/zlint.cpp +++ b/zlint/zlint.cpp @@ -160,15 +160,12 @@ Z_ReferenceId *Zlint::mk_refid(const char *buf, int len) int Zlint::initResponseGetVersion(Z_InitResponse *init) { int no = 0; - int off = 0; int i; for (i = 0; i<12; i++) if (ODR_MASK_GET(init->protocolVersion, no)) { no = i+1; } - else - off = 1; return no; } -- 1.7.10.4