[postgis-tickets] r17496 - Thou shalt not attempt to quiet warnings
Paul Ramsey
pramsey at cleverelephant.ca
Tue Jun 11 10:39:16 PDT 2019
Author: pramsey
Date: 2019-06-11 10:39:16 -0700 (Tue, 11 Jun 2019)
New Revision: 17496
Modified:
trunk/raster/rt_pg/rtpg_mapalgebra.c
Log:
Thou shalt not attempt to quiet warnings
Modified: trunk/raster/rt_pg/rtpg_mapalgebra.c
===================================================================
--- trunk/raster/rt_pg/rtpg_mapalgebra.c 2019-06-11 17:31:21 UTC (rev 17495)
+++ trunk/raster/rt_pg/rtpg_mapalgebra.c 2019-06-11 17:39:16 UTC (rev 17496)
@@ -77,10 +77,6 @@
/* n-raster MapAlgebra */
/* ---------------------------------------------------------------- */
-/* Quiet warning */
-#pragma clang diagnostic push
-#pragma clang diagnostic ignored "-Wgnu-variable-sized-type-not-at-end"
-
typedef struct {
Oid ufc_noid;
Oid ufc_rettype;
@@ -97,9 +93,6 @@
#endif
} rtpg_nmapalgebra_callback_arg;
-#pragma clang diagnostic pop
-/* ! Quiet warning */
-
typedef struct rtpg_nmapalgebra_arg_t *rtpg_nmapalgebra_arg;
struct rtpg_nmapalgebra_arg_t {
int numraster;
More information about the postgis-tickets
mailing list