Index: write_layer.c =================================================================== --- write_layer.c (revision 35043) +++ write_layer.c (revision 35044) @@ -139,6 +139,8 @@ fprintf(wctx->f, "%s %s\r\n", a->assoc, g->name); } } + + return 0; } static int pads_write_blk_misc_layers(write_ctx_t *wctx)