aboutsummaryrefslogtreecommitdiff
path: root/bfd/libbfd.c
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/libbfd.c')
-rw-r--r--bfd/libbfd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/libbfd.c b/bfd/libbfd.c
index ceae2c7..8665b23 100644
--- a/bfd/libbfd.c
+++ b/bfd/libbfd.c
@@ -266,7 +266,7 @@ DEFUN(bfd_seek,(abfd, position, direction),
if (direction == SEEK_SET && position == 0)
return 0;
#ifdef FILE_OFFSET_IS_CHAR_INDEX
- if (x > 0 && direction == SEEK_SET && position == abfd->where)
+ if (direction == SEEK_SET && position == abfd->where)
return 0;
#endif