[nautilus-open-terminal] Add missing include, and remove useless variables



commit 249901ea0da05595745ed68e379472169085b02b
Author: Vincent Untz <vuntz gnome org>
Date:   Fri May 29 03:22:00 2009 +0200

    Add missing include, and remove useless variables
---
 src/nautilus-open-terminal.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/src/nautilus-open-terminal.c b/src/nautilus-open-terminal.c
index 8dc725e..1d5760a 100644
--- a/src/nautilus-open-terminal.c
+++ b/src/nautilus-open-terminal.c
@@ -40,6 +40,7 @@
 
 #include <errno.h>
 #include <fcntl.h>
+#include <stdlib.h> /* for atoi */
 #include <string.h> /* for strcmp */
 #include <unistd.h> /* for chdir */
 #include <sys/stat.h>
@@ -125,8 +126,6 @@ parse_sftp_uri (GFile *file,
 {
 	char *tmp, *save;
 	char *uri;
-	char *u, *h, *s, *p;
-	char *h_end;
 
 	uri = g_file_get_uri (file);
 	g_assert (uri != NULL);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]