mirror of
				https://bitbucket.org/s_l_teichmann/mtsatellite
				synced 2025-10-31 08:05:27 +01:00 
			
		
		
		
	Removed dead code.
This commit is contained in:
		| @@ -441,8 +441,6 @@ func (ss *SqliteSession) plainSpatialQuery(first, second []byte, done chan struc | ||||
| 			} | ||||
| 			defer rows.Close() | ||||
|  | ||||
| 			count := 0 | ||||
|  | ||||
| 			for rows.Next() { | ||||
| 				var key int64 | ||||
| 				var data []byte | ||||
| @@ -460,7 +458,6 @@ func (ss *SqliteSession) plainSpatialQuery(first, second []byte, done chan struc | ||||
| 				case <-done: | ||||
| 					return false | ||||
| 				} | ||||
| 				count++ | ||||
| 			} | ||||
| 			if err = rows.Err(); err != nil { | ||||
| 				log.Printf("Error in range query: %s\n", err) | ||||
| @@ -487,9 +484,3 @@ func (ss *SqliteSession) plainSpatialQuery(first, second []byte, done chan struc | ||||
|  | ||||
| 	return | ||||
| } | ||||
|  | ||||
| func clone(a []byte) []byte { | ||||
| 	b := make([]byte, len(a)) | ||||
| 	copy(b, a) | ||||
| 	return b | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user