There's a call to WT_ERR before this return, which the build scripts consider an error, my guess is the WT_ERR call should be WT_RET?