X-Git-Url: https://git.llucax.com/z.facultad/75.06/emufs.git/blobdiff_plain/1251aa5beb1ae288e30468141c763d56e04a6bab..1507459453b2f0c66efc1940350b2d1471f8cb5f:/emufs_gui/articulos.c diff --git a/emufs_gui/articulos.c b/emufs_gui/articulos.c index 4899ab3..26ed7fd 100644 --- a/emufs_gui/articulos.c +++ b/emufs_gui/articulos.c @@ -13,7 +13,7 @@ t_LstArticulos *art_cargar(const char *filename) { xmlDocPtr document; xmlNode *node, *inicio; - int cant, size, error, i, id; + int cant, size, error = 0, i, id; void *save; t_LstArticulos *tmp; lst_articulos = NULL; @@ -126,7 +126,7 @@ t_Articulo *art_obtener(t_LstArticulos *lst, const char *numero) /* FIXME : NO ME GUSTA :-/ */ t_Articulo *art; void *tmp; - int i,error; + int i, error = 0; EMUFS_REG_SIZE size; int n = atoi(numero); @@ -243,7 +243,7 @@ void art_agregar(char *s) t_Form *form; t_Articulo art; void *save; - int error, size, existe, i; + int error = 0, size, existe, i; win = newwin(8, COLS-2, 13, 1); box(win, 0, 0);