commit b3c484eb56467659d9c1cb8f937b8562b3fa0550
parent 8101744233282370bd6384d8e85203b2cdd0100d
Author: ukai <ukai>
Date: Thu, 27 Dec 2001 17:45:25 +0000
[w3m-dev 02761]
From: Kiyokazu SUTO <suto@ks-and-ks.ne.jp>
Diffstat:
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
@@ -1,3 +1,8 @@
+2001-12-28 Kiyokazu SUTO <suto@ks-and-ks.ne.jp>
+
+ * [w3m-dev 02761]
+ * file.c (loadcmdout): remove unnecessary buf check
+
2001-12-28 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 02760]
diff --git a/file.c b/file.c
@@ -5423,8 +5423,6 @@ loadcmdout(char *cmd,
init_stream(&uf, SCM_UNKNOWN, newFileStream(f, (void (*)())pclose));
buf = loadproc(&uf, defaultbuf);
UFclose(&uf);
- if (buf == NULL)
- return NULL;
return buf;
}