Remove two duplicate typedef statements.
These two typedefs exactly matched earlier ones in the same scope and gcc was complaining that they were shadowing the previous definitions. Since the definitions matched exactly just deleting the second typedef was acceptable.
This commit is contained in:
parent
8158153ea4
commit
0faaa79bae
|
|
@ -390,7 +390,6 @@ bool PGenerate::elaborate_sig_direct_(Design*des, NetScope*container) const
|
|||
; cur != generate_schemes.end() ; ++ cur ) {
|
||||
PGenerate*item = *cur;
|
||||
if (item->scheme_type == PGenerate::GS_CASE) {
|
||||
typedef list<PGenerate*>::const_iterator generate_it_t;
|
||||
for (generate_it_t icur = item->generate_schemes.begin()
|
||||
; icur != item->generate_schemes.end() ; ++ icur ) {
|
||||
PGenerate*case_item = *icur;
|
||||
|
|
|
|||
|
|
@ -4699,7 +4699,6 @@ bool PGenerate::elaborate_direct_(Design*des, NetScope*container) const
|
|||
// contain anything. Instead scan the case items, which
|
||||
// are listed as sub-schemes of the item.
|
||||
if (item->scheme_type == PGenerate::GS_CASE) {
|
||||
typedef list<PGenerate*>::const_iterator generate_it_t;
|
||||
for (generate_it_t icur = item->generate_schemes.begin()
|
||||
; icur != item->generate_schemes.end() ; ++ icur ) {
|
||||
PGenerate*case_item = *icur;
|
||||
|
|
|
|||
Loading…
Reference in New Issue