zfsonlinux/zfs — pull request #2345 by marcelhuberfoo (2014-05-21 09:17:46+00:00)
Title: omit compiler warning by sticking to RAII

gcc warns about uninitialized 'ptr' when using -Wmaybe-uninitialized. It is always good practice to initialize locals.