summaryrefslogtreecommitdiff
path: root/ZAPD/Declaration.cpp
diff options
context:
space:
mode:
authorAnghelo Carvajal <angheloalf95@gmail.com>2022-01-02 19:19:51 -0300
committerGitHub <noreply@github.com>2022-01-02 17:19:51 -0500
commit0530b60691122ebbccffe4b8c813acd0438fcde6 (patch)
tree984d6707859a11221dd6e8d58085a032caebd99a /ZAPD/Declaration.cpp
parenta0d3f7b68b754f0233ee0a8f014c4432e87dcc42 (diff)
Don't generate extern declarations for unaccounted variables (#229)
* Don't generate extern declarations for unaccounted variables * Update jenkinsfile for MM * format
Diffstat (limited to 'ZAPD/Declaration.cpp')
-rw-r--r--ZAPD/Declaration.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ZAPD/Declaration.cpp b/ZAPD/Declaration.cpp
index be06b0b..34ab953 100644
--- a/ZAPD/Declaration.cpp
+++ b/ZAPD/Declaration.cpp
@@ -171,7 +171,7 @@ std::string Declaration::GetExternalDeclarationStr() const
std::string Declaration::GetExternStr() const
{
- if (IsStatic() || varType == "")
+ if (IsStatic() || varType == "" || isUnaccounted)
{
return "";
}