diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2001-12-27 17:45:25 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2001-12-27 17:45:25 +0000 |
commit | c492b31f9777357af14c2717c69180656811f8fb (patch) | |
tree | a9b53965d359d5102432ffcd7162ee6a8873b2ba | |
parent | [w3m-dev 02760] (diff) | |
download | w3m-c492b31f9777357af14c2717c69180656811f8fb.tar.gz w3m-c492b31f9777357af14c2717c69180656811f8fb.zip |
[w3m-dev 02761]
From: Kiyokazu SUTO <suto@ks-and-ks.ne.jp>
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | file.c | 4 |
2 files changed, 7 insertions, 4 deletions
@@ -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] @@ -1718,4 +1723,4 @@ * release-0-2-1 * import w3m-0.2.1 -$Id: ChangeLog,v 1.190 2001/12/27 17:43:22 ukai Exp $ +$Id: ChangeLog,v 1.191 2001/12/27 17:45:25 ukai Exp $ @@ -1,4 +1,4 @@ -/* $Id: file.c,v 1.35 2001/12/27 17:43:23 ukai Exp $ */ +/* $Id: file.c,v 1.36 2001/12/27 17:45:26 ukai Exp $ */ #include "fm.h" #include <sys/types.h> #include "myctype.h" @@ -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; } |