Commit 155b6176 by Tristan Gingold Committed by Tristan Gingold

re PR target/48895 (config/vms/vms-ar.c:main: variable ‘cwd’ set but not used)

2011-05-06  Tristan Gingold  <gingold@adacore.com>

	PR target/48895
	* config/vms/vms-ar.c (main): Remove cwd variable.

From-SVN: r173471
parent 3becc47b
2011-05-06 Tristan Gingold <gingold@adacore.com>
PR target/48895
* config/vms/vms-ar.c (main): Remove cwd variable.
2011-05-06 Jakub Jelinek <jakub@redhat.com>
PR debug/48902
......
......@@ -125,13 +125,10 @@ main (int argc, char *argv[])
FILE *comfile;
int comfd;
int outlen, maxoutlen = 4000;
char *cwd;
char temp_filename[] = TEMP_FILE SUFFIX;
char command[256];
int status;
cwd = getcwd (0, 1024);
if (argc < 2)
{
fprintf (stderr, "ar: no command or archive\n");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment