about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2008-12-15 00:24:56 -0500
committerThomas E. Dickey <dickey@invisible-island.net>2008-12-15 00:24:56 -0500
commite75e68d30a340967e226f8a814b07309416d3a3c (patch)
treed43f62a6b790b55ea24e1cf72fa6090277ba2c9b /src
parentda2bf8f62108075b8a876b8ad1d881370162bbcf (diff)
downloadlynx-snapshots-e75e68d30a340967e226f8a814b07309416d3a3c.tar.gz
snapshot of project "lynx", label v2-8-7dev_11
Diffstat (limited to 'src')
-rw-r--r--src/LYUtils.c4
-rw-r--r--src/Xsystem.c3
2 files changed, 3 insertions, 4 deletions
diff --git a/src/LYUtils.c b/src/LYUtils.c
index 99c611df..04ca9b3a 100644
--- a/src/LYUtils.c
+++ b/src/LYUtils.c
@@ -1,5 +1,5 @@
 /*
- * $LynxId: LYUtils.c,v 1.178 2008/12/14 18:42:42 tom Exp $
+ * $LynxId: LYUtils.c,v 1.179 2008/12/14 20:52:02 tom Exp $
  */
 #include <HTUtils.h>
 #include <HTTCP.h>
@@ -2818,8 +2818,8 @@ BOOLEAN inlocaldomain(void)
 	    else if (strlen(me.ut_host) == 0) {
 		result = TRUE;
 	    }
-	}
 #endif /* LINUX */
+	}
 
     } else {
 	CTRACE((tfp,
diff --git a/src/Xsystem.c b/src/Xsystem.c
index bd2c7c42..ec8a7915 100644
--- a/src/Xsystem.c
+++ b/src/Xsystem.c
@@ -1,4 +1,4 @@
-/* $LynxId: Xsystem.c,v 1.18 2008/12/14 18:44:52 tom Exp $
+/* $LynxId: Xsystem.c,v 1.19 2008/12/15 00:21:16 tom Exp $
  *	like system("cmd") but return with exit code of "cmd"
  *	for Turbo-C/MS-C/LSI-C
  *  This code is in the public domain.
@@ -537,7 +537,6 @@ int exec_command(char *cmd, int wait_flag)
 #else
     PRO *p;
     char *pif;
-    int rc = 0;
     int cmd_str;
 
     pif = cmd;