diff options
Diffstat (limited to 'src/pld')
-rw-r--r-- | src/pld/xilinx_bit.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/pld/xilinx_bit.c b/src/pld/xilinx_bit.c index 7bf72b2e..3c99db0d 100644 --- a/src/pld/xilinx_bit.c +++ b/src/pld/xilinx_bit.c @@ -67,8 +67,7 @@ int read_section(FILE *input_file, int length_size, char section, u32 *buffer_le if (length_size == 4) length = be_to_h_u32(length_buffer); - - if (length_size == 2) + else /* (length_size == 2) */ length = be_to_h_u16(length_buffer); if (buffer_length) |