summaryrefslogtreecommitdiff
path: root/ext/solv_xfopen.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/solv_xfopen.c')
-rw-r--r--ext/solv_xfopen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/solv_xfopen.c b/ext/solv_xfopen.c
index 967984e..2c64bb6 100644
--- a/ext/solv_xfopen.c
+++ b/ext/solv_xfopen.c
@@ -382,8 +382,8 @@ solv_xfopen_fd(const char *fn, int fd, const char *mode)
if (suf && !strcmp(suf, ".gz"))
return mygzfdopen(fd, simplemode);
#else
- return 0;
if (suf && !strcmp(suf, ".gz"))
+ return 0;
#endif
#ifdef ENABLE_LZMA_COMPRESSION
if (suf && !strcmp(suf, ".xz"))