X-Git-Url: https://git.llucax.com/z.facultad/75.06/emufs.git/blobdiff_plain/46453eaa7a7cbd8a43d9bbebda683814b13a832c..aa998b7abf1676e25919f71b000a2e2871bc7138:/emufs_gui/facturas.c?ds=sidebyside diff --git a/emufs_gui/facturas.c b/emufs_gui/facturas.c index 68ffe06..a27ba72 100644 --- a/emufs_gui/facturas.c +++ b/emufs_gui/facturas.c @@ -12,7 +12,7 @@ static void *procesar_guardar_factura(t_Factura *f, t_LstFacturas *lst, int *siz t_LstFacturas *fact_cargar(const char *filename) { - int i, numero, size, error, cant; + int i, numero, size, error = 0, cant; char *estados[6] = {"PN", "CD", "CM", "CF", "PM", "NC"}; char *fps[6] = {"CO", "CR", "CH"}; void *save; @@ -60,7 +60,6 @@ int fact_liberar(t_LstFacturas *l) if (l == NULL) l = lst_facturas; if (l == NULL) return 1; - ver_archivo_FS(l->fp); emufs_destruir(l->fp); /* free(l->array); */ free(l);