summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvipdfm-x/bmpimage.c
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/dvipdfm-x/bmpimage.c')
-rw-r--r--Build/source/texk/dvipdfm-x/bmpimage.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/Build/source/texk/dvipdfm-x/bmpimage.c b/Build/source/texk/dvipdfm-x/bmpimage.c
index 1e08ae210f8..8b0bb8d221b 100644
--- a/Build/source/texk/dvipdfm-x/bmpimage.c
+++ b/Build/source/texk/dvipdfm-x/bmpimage.c
@@ -66,10 +66,7 @@ check_for_bmp (FILE *fp)
if (fread(sigbytes, 1, sizeof(sigbytes), fp) != sizeof(sigbytes) ||
sigbytes[0] != 'B' || sigbytes[1] != 'M')
return 0;
- else
- return 1;
-
- return 0;
+ return 1;
}
int