Permalink
Browse files

[dotnet] remove extraneous 'return'

  • Loading branch information...
1 parent 72c91f0 commit 8c7d903c0025c416000e419a793d2d78726f3ee0 @diakopter diakopter committed Nov 17, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 common/NQP/NQPSetting.pm
@@ -744,7 +744,7 @@ my knowhow NQPAttribute {
if $!has_accessor {
if $!has_mutator {
$obj.HOW.add_method($obj, $short_name, method ($val?) {
- return nqp::repr_defined($val)
+ nqp::repr_defined($val)
?? nqp::bind_attr(self, $obj.WHAT, $long_name, $val)
!! nqp::get_attr(self, $obj.WHAT, $long_name);
});

0 comments on commit 8c7d903

Please sign in to comment.