diff options
author | Keith Packard <keithp@keithp.com> | 2019-01-03 11:41:49 -0800 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2019-01-03 12:09:58 -0800 |
commit | 6f729ff46b2f4531db68f0af85e7e9fe0f6d1969 (patch) | |
tree | d0a93a48bd3012decbb230f5aa17ecc6c793cad2 /ao-tools/lib/ao-editaltos.c | |
parent | f14c799ae7ff3be56c28f5694f04c03daff7708e (diff) |
ao-tools: Fix warnings in ao-tools
None of these appear likely to have caused actual problems.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'ao-tools/lib/ao-editaltos.c')
-rw-r--r-- | ao-tools/lib/ao-editaltos.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/ao-tools/lib/ao-editaltos.c b/ao-tools/lib/ao-editaltos.c index 06009653..a51b7dbe 100644 --- a/ao-tools/lib/ao-editaltos.c +++ b/ao-tools/lib/ao-editaltos.c @@ -53,8 +53,6 @@ int ao_num_symbols = NUM_SYMBOLS; static bool rewrite(struct ao_hex_image *load, unsigned address, uint8_t *data, int length) { - int i; - if (address < load->address || load->address + load->length < address + length) return false; |