summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu.herrb@laas.fr>2004-12-11 16:14:05 +0000
committerMatthieu Herrb <matthieu.herrb@laas.fr>2004-12-11 16:14:05 +0000
commitf1908d7ee5e2d2d44db2116b3c88213da9dfb854 (patch)
tree9e863810b4f36fb74e0d7e23c30e7fbc21c860ed /src
parentb041980732f6a6002001cfe079fdfb982937d4a8 (diff)
Diffstat (limited to 'src')
-rw-r--r--src/RdFToI.c13
1 files changed, 2 insertions, 11 deletions
diff --git a/src/RdFToI.c b/src/RdFToI.c
index 759535e..e91d5e9 100644
--- a/src/RdFToI.c
+++ b/src/RdFToI.c
@@ -259,15 +259,6 @@ static void
xpmDataClose(mdata)
xpmData *mdata;
{
- switch (mdata->type) {
- case XPMFILE:
- if (mdata->stream.file != (stdin))
- fclose(mdata->stream.file);
- break;
-#ifndef NO_ZPIPE
- case XPMPIPE:
- pclose(mdata->stream.file);
- break;
-#endif
- }
+ if (mdata->stream.file != (stdin))
+ fclose(mdata->stream.file);
}