]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
pex-win32.c (pexecute): Mark parameters this_pname and temp_base as unused.
authorDanny Smith <dannysmith@users.sourceforge.net>
Sat, 5 Jul 2003 00:52:07 +0000 (00:52 +0000)
committerDanny Smith <dannysmith@gcc.gnu.org>
Sat, 5 Jul 2003 00:52:07 +0000 (00:52 +0000)
* pex-win32.c (pexecute): Mark parameters this_pname and
temp_base as unused. Remove unused variables retries,
sleep_interval. Initialize org_stdin, org_stdout.
(pwait): Mark parameter flags as unused.

From-SVN: r68953

libiberty/ChangeLog
libiberty/pex-win32.c

index 770ef9533ef3d2f0f4d9b7e6834de31a07956da5..f26593fc08176816fdc5ad9a95a6c8e7337bcae8 100644 (file)
@@ -1,4 +1,11 @@
-2003-07-02  Danny Smith  <dannysmith@users.source.forge.net>
+2003-07-05  Danny Smith  <dannysmith@users.sourceforge.net>
+
+       * pex-win32.c (pexecute): Mark parameters this_pname and
+       temp_base as unused. Remove unused variables retries,
+       sleep_interval. Initialize org_stdin, org_stdout.
+       (pwait): Mark parameter flags as unused.
+
+2003-07-02  Danny Smith  <dannysmith@users.sourceforge.net>
 
        * pex-win32.c (fix_argv): Ensure that the executable pathname
        uses Win32 backslashes.
index 24a55e8bc0d83aa6735654c904a46f8752d785b2..27a5bb4e309ea5885122a35cdc715684f49d665f 100644 (file)
@@ -136,15 +136,16 @@ int
 pexecute (program, argv, this_pname, temp_base, errmsg_fmt, errmsg_arg, flags)
      const char *program;
      char * const *argv;
-     const char *this_pname;
-     const char *temp_base;
+     const char *this_pname ATTRIBUTE_UNUSED;
+     const char *temp_base ATTRIBUTE_UNUSED;
      char **errmsg_fmt, **errmsg_arg;
      int flags;
 {
   int pid;
-  int pdes[2], org_stdin, org_stdout;
+  int pdes[2];
+  int org_stdin = -1;
+  int org_stdout = -1;
   int input_desc, output_desc;
-  int retries, sleep_interval;
 
   /* Pipe waiting from last process, to be used as input for the next one.
      Value is STDIN_FILE_NO if no pipe is waiting
@@ -227,7 +228,7 @@ int
 pwait (pid, status, flags)
      int pid;
      int *status;
-     int flags;
+     int flags ATTRIBUTE_UNUSED;
 {
   int termstat;