소스 검색

build fix

Ronald Peterson 10 년 전
부모
커밋
7096697bd0
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      board/board.go

+ 1 - 1
board/board.go

@@ -57,7 +57,7 @@ func NewRemote(width, height int) *Board {
 		log.Printf("Received partial: x=%v, y=%v, width=%v, height=%v\n", result.x, result.y, result.width, result.height)
 		for ry := 0; ry < result.height; ry++ {
 			i, _ := b.xyToIndex(result.x, result.y+ry)
-			n, err := result.boardTile.Read(b.data[i : i+byteIndex(result.width)])
+			_, err := result.boardTile.Read(b.data[i : i+byteIndex(result.width)])
 			if !(err == nil || err == io.EOF) {
 				log.Printf("ERROR: %v", err)
 			}