This commit is contained in:
Axel Kittenberger 2010-07-12 06:49:53 +00:00
parent d15d3c24fd
commit 89164e2ab0

View File

@ -746,22 +746,6 @@ bool append_tosync_watch(int watch) {
return true;
}
/**
* Removes a tosync entry in the stack at the position p.
*/
//bool remove_tosync_pos(int p) {
// int i;
// assert(p < tosync_pos);
//
// //TODO improve performance by using memcpy.
// for(i = p; i < tosync_pos; i++) {
// tosync[i] = tosync[i + 1];
// }
// tosync_pos--;
// return true;
//}
/**
* Parses an option text, replacing all '%' specifiers with
* elaborated stuff. duh, currently there is only one, so this
@ -817,6 +801,7 @@ bool action(struct dir_conf * dir_conf,
int status;
const int MAX_ARGS = 100;
char * argv[MAX_ARGS];
char * dryargs;
int argc = 0;
int i;
struct call_option* optp;
@ -862,6 +847,7 @@ bool action(struct dir_conf * dir_conf,
//}
if (flag_dryrun) {
// TODO memfree, debug message
return true;
}