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
This commit is contained in:
Tristan Gingold 2011-05-06 07:47:27 +00:00 committed by Tristan Gingold
parent 3becc47be6
commit 155b61760d
2 changed files with 5 additions and 3 deletions

View file

@ -1,3 +1,8 @@
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

View file

@ -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");