about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2012-05-14 16:27:05 +0200
committerAndreas Jaeger <aj@suse.de>2012-05-14 16:27:05 +0200
commit7ac772940e915d2727f8d161741d3f74872d38dd (patch)
tree0f0506b931d28ce6d9b5b0e8a63c0a2d8b30a3b8
parentcaae5a8101236944532bb1b028e97654150df7bb (diff)
downloadglibc-7ac772940e915d2727f8d161741d3f74872d38dd.tar.gz
glibc-7ac772940e915d2727f8d161741d3f74872d38dd.tar.xz
glibc-7ac772940e915d2727f8d161741d3f74872d38dd.zip
Remove unused variable in linux/getcwd.c
-rw-r--r--ChangeLog5
-rw-r--r--sysdeps/unix/sysv/linux/getcwd.c1
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 12761baf15..3554d9eef5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2012-05-14  Andreas Jaeger  <aj@suse.de>
+
+	* sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
+	variable.
+
 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
 
 	[BZ #13717]
diff --git a/sysdeps/unix/sysv/linux/getcwd.c b/sysdeps/unix/sysv/linux/getcwd.c
index 8f884808c3..52dd975ec3 100644
--- a/sysdeps/unix/sysv/linux/getcwd.c
+++ b/sysdeps/unix/sysv/linux/getcwd.c
@@ -49,7 +49,6 @@ char *
 __getcwd (char *buf, size_t size)
 {
   char *path;
-  int n;
   char *result;
 
 #ifndef NO_ALLOCATION