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

master
Thomas Schmitt 12 years ago
parent 038b2023d8
commit 73adaf89ee
  1. 7
      xorriso/disk_ops.c
  2. 2
      xorriso/xorriso_timestamp.h

@ -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) {
@ -974,6 +973,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)) {

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

Loading…
Cancel
Save