diff options
author | Trevor Saunders <tbsaunde+binutils@tbsaunde.org> | 2016-03-20 01:07:55 -0400 |
---|---|---|
committer | Trevor Saunders <tbsaunde+binutils@tbsaunde.org> | 2016-03-22 19:14:17 -0400 |
commit | 986d894b2a5484e522d540b24c0c9cf266fabacb (patch) | |
tree | d1ef6dee0729487648d772c4af59576742e98f8e /gas/config/tc-m68hc11.c | |
parent | 74b4e47aa64c64069928884d35a5bc255bfcf41d (diff) | |
download | binutils-gdb-986d894b2a5484e522d540b24c0c9cf266fabacb.tar.gz |
tc-pdp11.c: remove useless code
if the condition is true then we know that str already points to a'\0' in the
string passed to the function. Since we know the latter part of the function
doesn't modify that string, and str already points to a null byte there's no
point in changing str to point to a literal empty string.
gas/ChangeLog:
2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
* config/tc-pdp11.c (md_assemble): Remove useless if and assignment to
str.
Diffstat (limited to 'gas/config/tc-m68hc11.c')
0 files changed, 0 insertions, 0 deletions