scripts/wrapper.c
changeset 1504 4e8dd617a1ca
parent 1492 b97f8fa54d67
child 1964 f02cfced8f55
child 1998 110ba570a70a
     1.1 --- a/scripts/wrapper.c	Sat Aug 29 18:27:47 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.