Index: export_openscad.c =================================================================== --- export_openscad.c (revision 34300) +++ export_openscad.c (revision 34301) @@ -134,9 +134,9 @@ static const rnd_export_opt_t *openscad_get_export_options(rnd_hid_t *hid, int *n) { const char *suffix = ".scad"; - char **val = &openscad_values[HA_openscadfile].str; + const char *val = openscad_values[HA_openscadfile].str; - if ((PCB != NULL) && ((val == NULL) || (*val == NULL) || (**val == '\0'))) + if ((PCB != NULL) && ((val == NULL) || (*val == '\0'))) pcb_derive_default_filename(PCB->hidlib.filename, &openscad_values[HA_openscadfile], suffix); if (n)