This rule is defined by the following Java class: net.sourceforge.pmd.rules.design.UnnecessaryLocalBeforeReturn
Example:
public class Foo { public int foo() { int x = doSomething(); return x; // instead, just 'return doSomething();' } }