Hello!

building dt git version because of gentoo's freshly released
=sci-geosciences/osm-gps-map-1.1.0 ~amd64 


fails in:

...src/iop/rawprepare.c:537:3: error: missing braces around initializer 
[-Werror=missing-braces] 
        dt_iop_rawprepare_params_t tmp = { 0 };





quick fix (working: 'map'Tab is now active in dt)
should be save: tmp is filled anyway with data for all program pathes in 
reload_defaults


diff --git a/src/iop/rawprepare.c b/src/iop/rawprepare.c
index 2bdb0a0..a64ba55 100644
--- a/src/iop/rawprepare.c
+++ b/src/iop/rawprepare.c
@@ -534,7 +534,7 @@ void cleanup_pipe(dt_iop_module_t *self, dt_dev_pixelpipe_t 
*pipe, dt_dev_pixelp
 
 void reload_defaults(dt_iop_module_t *self)
 {
-  dt_iop_rawprepare_params_t tmp = { 0 };
+  dt_iop_rawprepare_params_t tmp ;
 
   // we might be called from presets update infrastructure => there is no image
   if(!self->dev) goto end;








greetings 
Wolfgang

Attachment: pgpaLzhUvIt1t.pgp
Description: OpenPGP digital signature

Reply via email to