diff options
author | Pavel Janík <Pavel@Janik.cz> | 2016-11-10 08:00:05 +0100 |
---|---|---|
committer | Pavel Janík <Pavel@Janik.cz> | 2016-12-05 11:41:46 +0100 |
commit | 9de90bb749926a51aac15d5998bff3e12425675e (patch) | |
tree | c8f36dfda28f69e8f90ea8bffb668a927d031e8c /src/script/script.h | |
parent | 43e8150ef69093c906c4406ce58c1fd21fee898e (diff) |
Do not shadow variables (gcc set)
Diffstat (limited to 'src/script/script.h')
-rw-r--r-- | src/script/script.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/script/script.h b/src/script/script.h index 278774d32e..11be6ba7d3 100644 --- a/src/script/script.h +++ b/src/script/script.h @@ -449,16 +449,16 @@ public: else if (b.size() <= 0xffff) { insert(end(), OP_PUSHDATA2); - uint8_t data[2]; - WriteLE16(data, b.size()); - insert(end(), data, data + sizeof(data)); + uint8_t _data[2]; + WriteLE16(_data, b.size()); + insert(end(), _data, _data + sizeof(_data)); } else { insert(end(), OP_PUSHDATA4); - uint8_t data[4]; - WriteLE32(data, b.size()); - insert(end(), data, data + sizeof(data)); + uint8_t _data[4]; + WriteLE32(_data, b.size()); + insert(end(), _data, _data + sizeof(_data)); } insert(end(), b.begin(), b.end()); return *this; |