author | "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> |
Sun Aug 30 19:58:41 2009 +0200 (2009-08-30) | |
changeset 1504 | 4e8dd617a1ca |
parent 1503 | 7dcef3fb5e8f |
child 1505 | 2109143a4b2f |
1.1 --- a/scripts/wrapper.c Sun Aug 30 19:54:51 2009 +0200 1.2 +++ b/scripts/wrapper.c Sun Aug 30 19:58:41 2009 +0200 1.3 @@ -27,6 +27,9 @@ 1.4 size_t len; 1.5 int execve_ret; 1.6 1.7 + /* Avoid the warning-treated-as-error: "error: unused parameter 'argc'" */ 1.8 + len = argc; 1.9 + 1.10 /* In case we have a relative or absolute pathname (ie. contains a slash), 1.11 * then realpath wll work. But if the tool was found in the PATH, realpath 1.12 * won't work, and we'll have to search ourselves.