summaryrefslogtreecommitdiff
path: root/gcc/config/vms
diff options
context:
space:
mode:
authorgingold <gingold@138bc75d-0d04-0410-961f-82ee72b054a4>2011-05-06 07:47:27 +0000
committergingold <gingold@138bc75d-0d04-0410-961f-82ee72b054a4>2011-05-06 07:47:27 +0000
commitc28818746c35d2f85f24664fb835cd4ab95b53c9 (patch)
tree26160011e4347a15f6d810ec05540dfd38b91843 /gcc/config/vms
parentbc40ee9070e13de4ee9b962392f83538c26cd917 (diff)
downloadgcc-c28818746c35d2f85f24664fb835cd4ab95b53c9.tar.gz
2011-05-06 Tristan Gingold <gingold@adacore.com>
PR target/48895 * config/vms/vms-ar.c (main): Remove cwd variable. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@173471 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/vms')
-rw-r--r--gcc/config/vms/vms-ar.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/gcc/config/vms/vms-ar.c b/gcc/config/vms/vms-ar.c
index d01a05299ac..9f674f07e29 100644
--- a/gcc/config/vms/vms-ar.c
+++ b/gcc/config/vms/vms-ar.c
@@ -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");