Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/supermerill/SuperSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlessandro Ranellucci <aar@cpan.org>2015-12-16 15:11:41 +0300
committerAlessandro Ranellucci <aar@cpan.org>2015-12-16 15:11:41 +0300
commit3ec3aaf960d97a49ff0632872c60b1ebf8777218 (patch)
tree8b257ba7f8386b7a6a8ce1e8aa0737a4eb398ca8 /xs/src/perlglue.cpp
parente3811008126c4e72fac6a3616538f985ede93e46 (diff)
Removed debugging statements
Diffstat (limited to 'xs/src/perlglue.cpp')
-rw-r--r--xs/src/perlglue.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/xs/src/perlglue.cpp b/xs/src/perlglue.cpp
index 8098fd980..55e00bc3a 100644
--- a/xs/src/perlglue.cpp
+++ b/xs/src/perlglue.cpp
@@ -80,9 +80,6 @@ SV*
ConfigOption_to_SV(const ConfigOption &opt, const ConfigOptionDef &def) {
if (def.type == coFloat) {
const ConfigOptionFloat* optv = dynamic_cast<const ConfigOptionFloat*>(&opt);
- if (optv == NULL) {
- printf("opt_key = %s\n", def.label.c_str());
- }
return newSVnv(optv->value);
} else if (def.type == coFloats) {
const ConfigOptionFloats* optv = dynamic_cast<const ConfigOptionFloats*>(&opt);
@@ -96,9 +93,6 @@ ConfigOption_to_SV(const ConfigOption &opt, const ConfigOptionDef &def) {
return newSVnv(optv->value);
} else if (def.type == coInt) {
const ConfigOptionInt* optv = dynamic_cast<const ConfigOptionInt*>(&opt);
- if (optv == NULL) {
- printf("opt_key = %s\n", def.label.c_str());
- }
return newSViv(optv->value);
} else if (def.type == coInts) {
const ConfigOptionInts* optv = dynamic_cast<const ConfigOptionInts*>(&opt);
@@ -130,9 +124,6 @@ ConfigOption_to_SV(const ConfigOption &opt, const ConfigOptionDef &def) {
return newRV_noinc((SV*)av);
} else if (def.type == coBool) {
const ConfigOptionBool* optv = dynamic_cast<const ConfigOptionBool*>(&opt);
- if (optv == NULL) {
- printf("opt_key = %s\n", def.label.c_str());
- }
return newSViv(optv->value ? 1 : 0);
} else if (def.type == coBools) {
const ConfigOptionBools* optv = dynamic_cast<const ConfigOptionBools*>(&opt);