* libmisc/remove_tree.c: Ignore snprintf return value.
This commit is contained in:
parent
660ed49daf
commit
07e67e1350
@ -1,3 +1,7 @@
|
||||
2010-08-20 Nicolas François <nicolas.francois@centraliens.net>
|
||||
|
||||
* libmisc/remove_tree.c: Ignore snprintf return value.
|
||||
|
||||
2010-08-20 Nicolas François <nicolas.francois@centraliens.net>
|
||||
|
||||
* lib/prototypes.h, libmisc/list.c: dup_list() and is_on_list() do
|
||||
|
@ -96,7 +96,7 @@ int remove_tree (const char *root, bool remove_root)
|
||||
err = -1;
|
||||
break;
|
||||
}
|
||||
snprintf (new_name, new_len, "%s/%s", root, ent->d_name);
|
||||
(void) snprintf (new_name, new_len, "%s/%s", root, ent->d_name);
|
||||
if (LSTAT (new_name, &sb) == -1) {
|
||||
continue;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user