From 225327468dcd892d0be5eaec09d929b0ac3d834f Mon Sep 17 00:00:00 2001 From: Sandro Santilli Date: Thu, 12 Feb 2015 10:37:21 +0100 Subject: [PATCH] Fix unused variables warnings --- lib/pc_point.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/pc_point.c b/lib/pc_point.c index 4d9e9da..043fb33 100644 --- a/lib/pc_point.c +++ b/lib/pc_point.c @@ -46,9 +46,7 @@ pc_point_make(const PCSCHEMA *s) PCPOINT * pc_point_from_data(const PCSCHEMA *s, const uint8_t *data) { - size_t sz; PCPOINT *pt; - uint32_t pcid; if ( ! s ) { @@ -242,7 +240,6 @@ pc_point_from_wkb(const PCSCHEMA *schema, uint8_t *wkb, size_t wkblen) */ const size_t hdrsz = 1+4; /* endian + pcid */ uint8_t wkb_endian; - uint32_t pcid; uint8_t *data; PCPOINT *pt; @@ -252,7 +249,6 @@ pc_point_from_wkb(const PCSCHEMA *schema, uint8_t *wkb, size_t wkblen) } wkb_endian = wkb[0]; - pcid = wkb_get_pcid(wkb); if ( (wkblen-hdrsz) != schema->size ) {