X-Git-Url: https://wimlib.net/git/?a=blobdiff_plain;f=src%2Fxml.c;h=2f67c9851fcc8fe331a3c425cadee3e3d8dba2c7;hb=60b8f54df8fed44136bdc8ec615ee62703d87b69;hp=943fb8340020c801084ebda14d8b9c7a60838dd6;hpb=72f16c2c9e53f83210e8679f487d4a64d8c897e7;p=wimlib diff --git a/src/xml.c b/src/xml.c index 943fb834..2f67c985 100644 --- a/src/xml.c +++ b/src/xml.c @@ -10,16 +10,16 @@ * This file is part of wimlib, a library for working with WIM files. * * wimlib is free software; you can redistribute it and/or modify it under the - * terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) + * terms of the GNU General Public License as published by the Free + * Software Foundation; either version 3 of the License, or (at your option) * any later version. * * wimlib is distributed in the hope that it will be useful, but WITHOUT ANY * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more + * A PARTICULAR PURPOSE. See the GNU General Public License for more * details. * - * You should have received a copy of the GNU Lesser General Public License + * You should have received a copy of the GNU General Public License * along with wimlib; if not, see http://www.gnu.org/licenses/. */ @@ -819,8 +819,6 @@ static int clone_windows_info(const struct windows_info *old, static int clone_image_info(const struct image_info *old, struct image_info *new) { - int ret; - new->dir_count = old->dir_count; new->file_count = old->file_count; new->total_bytes = old->total_bytes; @@ -869,8 +867,6 @@ int xml_export_image(const struct wim_info *old_wim_info, struct wim_info *new_wim_info; struct image_info *image_info; int ret; - char *name; - char *desc; DEBUG("Copying XML data between WIM files for source image %d.", image);