Fix variable name: "result" instead of "value"
Fix variable name: "result" instead of "value"

Bug introduced during previous refactoring, when after inlining
a function into scope().

eric-brechemier/scopeornot,eric-brechemier/scopeornot