projects
/
yazpp-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d0932db
)
Remove code for unused local var
author
Adam Dickmeiss
<adam@indexdata.dk>
Mon, 22 Oct 2012 17:28:37 +0000
(19:28 +0200)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Mon, 22 Oct 2012 17:28:37 +0000
(19:28 +0200)
zlint/zlint.cpp
patch
|
blob
|
history
diff --git
a/zlint/zlint.cpp
b/zlint/zlint.cpp
index
11e6ccd
..
0c596e3
100644
(file)
--- 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;
}