summaryrefslogtreecommitdiff
path: root/src/bin/eolian_mono
diff options
context:
space:
mode:
authorVitor Sousa <vitorsousa@expertisesolutions.com.br>2019-03-07 17:03:52 -0300
committerVitor Sousa <vitorsousa@expertisesolutions.com.br>2019-03-07 17:08:20 -0300
commit00fdbb340f3d21f0bcd67a4b6b24c04f9a77d474 (patch)
tree457db4893ad159d3a940db8967d1aaacec0e3519 /src/bin/eolian_mono
parent0b7cd8d88ec2192b60c830a5d0d2bd89fd859c84 (diff)
efl_csharp: remove warnings caused by unused or unnecessary code
Reviewers: lauromoura, segfaultxavi, cedric Reviewed By: lauromoura Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8234
Diffstat (limited to 'src/bin/eolian_mono')
-rw-r--r--src/bin/eolian_mono/eolian/mono/klass.hh5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/bin/eolian_mono/eolian/mono/klass.hh b/src/bin/eolian_mono/eolian/mono/klass.hh
index 199dd8c..0689648 100644
--- a/src/bin/eolian_mono/eolian/mono/klass.hh
+++ b/src/bin/eolian_mono/eolian/mono/klass.hh
@@ -349,7 +349,7 @@ struct klass
349 349
350 // Copied from nativeinherit class, used when setting up providers. 350 // Copied from nativeinherit class, used when setting up providers.
351 if(!as_generator( 351 if(!as_generator(
352 scope_tab << "private static " << (root ? "" : "new ") << " IntPtr GetEflClassStatic()\n" 352 scope_tab << "private static IntPtr GetEflClassStatic()\n"
353 << scope_tab << "{\n" 353 << scope_tab << "{\n"
354 << scope_tab << scope_tab << "return " << name_helpers::klass_get_full_name(cls) << "();\n" 354 << scope_tab << scope_tab << "return " << name_helpers::klass_get_full_name(cls) << "();\n"
355 << scope_tab << "}\n" 355 << scope_tab << "}\n"
@@ -481,8 +481,7 @@ struct klass
481 if (is_inherit) 481 if (is_inherit)
482 { 482 {
483 if (!as_generator( 483 if (!as_generator(
484 scope_tab << "private static readonly object klassAllocLock = new object();\n" 484 scope_tab << "protected bool inherited;\n"
485 << scope_tab << "protected bool inherited;\n"
486 ).generate(sink, attributes::unused, context)) 485 ).generate(sink, attributes::unused, context))
487 return false; 486 return false;
488 } 487 }