silence warnings in pgraster plugin - refs #2356
This commit is contained in:
parent
ca3078938c
commit
15a2acf0d5
2 changed files with 6 additions and 4 deletions
|
@ -65,12 +65,14 @@ read_uint16(const uint8_t** from, uint8_t littleEndian) {
|
|||
return ret;
|
||||
}
|
||||
|
||||
/*
|
||||
int16_t
|
||||
read_int16(const uint8_t** from, uint8_t littleEndian) {
|
||||
assert(NULL != from);
|
||||
|
||||
return read_uint16(from, littleEndian);
|
||||
}
|
||||
*/
|
||||
|
||||
double
|
||||
read_float64(const uint8_t** from, uint8_t littleEndian) {
|
||||
|
|
|
@ -47,7 +47,7 @@ class pgraster_wkb_reader
|
|||
public:
|
||||
|
||||
pgraster_wkb_reader(const uint8_t* wkb, int size, int bnd=0)
|
||||
: wkbsize_(size), wkb_(wkb), wkbend_(wkb+size), ptr_(wkb), bandno_(bnd)
|
||||
: ptr_(wkb), bandno_(bnd)
|
||||
{}
|
||||
|
||||
mapnik::raster_ptr get_raster();
|
||||
|
@ -69,9 +69,9 @@ private:
|
|||
void read_grayscale(mapnik::raster_ptr raster);
|
||||
void read_rgba(mapnik::raster_ptr raster);
|
||||
|
||||
int wkbsize_;
|
||||
const uint8_t* wkb_;
|
||||
const uint8_t* wkbend_;
|
||||
//int wkbsize_;
|
||||
//const uint8_t* wkb_;
|
||||
//const uint8_t* wkbend_;
|
||||
const uint8_t* ptr_;
|
||||
uint8_t endian_;
|
||||
int bandno_;
|
||||
|
|
Loading…
Add table
Reference in a new issue