diff options
author | Marcel Huber <[email protected]> | 2014-05-21 11:17:23 +0200 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2014-05-22 09:44:15 -0700 |
commit | 58bd7ad060b4675c47389844da25f7c25a209704 (patch) | |
tree | 9a9ed85d32f14b43e713d535e5213bc4ca252282 /lib/Makefile.am | |
parent | 5f3c101b8ff05a5af9e83a5e86b5019bd6b02a3c (diff) |
Omit compiler warning by sticking to RAII
Resolve gcc 4.9.0 20140507 warnings about uninitialized 'ptr' when
using -Wmaybe-uninitialized. The first two cases appears appear
to be legitimate but not the second two. In general this is a
good practice so they are all initialized.
Signed-off-by: Marcel Huber <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
Closes #2345
Diffstat (limited to 'lib/Makefile.am')
0 files changed, 0 insertions, 0 deletions