diff --git a/src/perl/common/Settings.xs b/src/perl/common/Settings.xs index 378e0c59..5ba14ab0 100644 --- a/src/perl/common/Settings.xs +++ b/src/perl/common/Settings.xs @@ -74,7 +74,7 @@ settings_get_str(key) CODE: const char *str; - RETVAL = NULL; + RETVAL = Nullsv; str = settings_get_str(key); if (str != NULL) { RETVAL = newSVpv(str, 0);