Skip to content

Commit

Permalink
Remove unused storage class STCcomdat
Browse files Browse the repository at this point in the history
  • Loading branch information
schuetzm committed Aug 22, 2014
1 parent c6cf84f commit 9c2a716
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
1 change: 0 additions & 1 deletion src/declaration.h
Expand Up @@ -55,7 +55,6 @@ enum PURE;
#define STCout 0x1000LL // out parameter
#define STClazy 0x2000LL // lazy parameter
#define STCforeach 0x4000LL // variable for foreach loop
#define STCcomdat 0x8000LL // should go into COMDAT record
#define STCvariadic 0x10000LL // variadic function argument
#define STCctorinit 0x20000LL // can only be set inside constructor
#define STCtemplateparameter 0x40000LL // template parameter
Expand Down
5 changes: 1 addition & 4 deletions src/toobj.c
Expand Up @@ -928,10 +928,7 @@ void VarDeclaration::toObjFile(bool multiobj)

parent = this->toParent();
{
if (storage_class & STCcomdat)
s->Sclass = SCcomdat;
else
s->Sclass = SCglobal;
s->Sclass = SCglobal;

do
{
Expand Down

0 comments on commit 9c2a716

Please sign in to comment.