diff options
Diffstat (limited to 'gdb/windows-nat.c')
-rw-r--r-- | gdb/windows-nat.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/gdb/windows-nat.c b/gdb/windows-nat.c index e912fa4..74fe30f 100644 --- a/gdb/windows-nat.c +++ b/gdb/windows-nat.c @@ -2519,11 +2519,9 @@ windows_xfer_partial (struct target_ops *ops, enum target_object object, writebuf, offset, len, xfered_len); default: - if (ops->beneath != NULL) - return ops->beneath->to_xfer_partial (ops->beneath, object, annex, - readbuf, writebuf, offset, len, - xfered_len); - return TARGET_XFER_E_IO; + return ops->beneath->to_xfer_partial (ops->beneath, object, annex, + readbuf, writebuf, offset, len, + xfered_len); } } |