fix "declared and not used" errors in non-test code.

R=r
DELTA=112  (6 added, 57 deleted, 49 changed)
OCL=34610
CL=34610
This commit is contained in:
Russ Cox 2009-09-14 17:20:29 -07:00
parent b198b994a1
commit 28eba4877b
35 changed files with 35 additions and 73 deletions

View file

@ -93,7 +93,6 @@ func verifyInt(i int64, t *testing.T) {
// Test basic encode/decode routines for signed integers
func TestIntCodec(t *testing.T) {
var b = new(bytes.Buffer);
for u := uint64(0); ; u = (u+1) * 7 {
// Do positive and negative values
i := int64(u);
@ -191,9 +190,6 @@ func TestScalarEncInstructions(t *testing.T) {
// int16
{
b.Reset();
v := int16(17);
pv := &v;
ppv := &pv;
data := struct { a int16 } { 17 };
instr := &encInstr{ encInt16, 6, 0, 0 };
state := newencoderState(b);