Reacted on warnings of -Wunused-but-set-variable

This commit is contained in:
Thomas Schmitt 2011-07-03 09:25:02 +00:00
parent 7eaa90c40b
commit a1d0a93aef
2 changed files with 6 additions and 3 deletions

View File

@ -920,7 +920,7 @@ ex:;
int Xorriso_rmx(struct XorrisO *xorriso, off_t boss_mem, char *path, int flag)
{
int ret, is_dir= 0, made_accessible= 0;
struct stat victim_stbuf, *victim_node= NULL;
struct stat victim_stbuf;
struct DirseQ *dirseq= NULL;
char *sfe= NULL, *sub_path= NULL;
struct PermiteM *perm_stack_mem;
@ -959,7 +959,6 @@ int Xorriso_rmx(struct XorrisO *xorriso, off_t boss_mem, char *path, int flag)
Xorriso_msgs_submit(xorriso, 0, xorriso->info_text, 0, "FAILURE", 0);
{ret= 0; goto ex;}
}
victim_node= &victim_stbuf;
if(S_ISDIR(victim_stbuf.st_mode))
is_dir= 1;
if(!is_dir) {
@ -975,6 +974,10 @@ int Xorriso_rmx(struct XorrisO *xorriso, off_t boss_mem, char *path, int flag)
#ifdef Osirrox_not_yeT
/* >>> */
struct stat *victim_node= NULL;
victim_node= &victim_stbuf;
if((xorriso->do_reassure==1 && !xorriso->request_not_to_ask) ||
(flag&32)) {
/* Iterate over subordinates and delete them */

View File

@ -1 +1 @@
#define Xorriso_timestamP "2011.07.03.091706"
#define Xorriso_timestamP "2011.07.03.092353"