Initialize uninitialized scalar variable in lens plugin

Found with coverity (CID 68768)