freebsd-dev/lib/libspl
Marcel Huber 58bd7ad060 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 <marcelhuberfoo@gmail.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #2345
2014-05-22 09:44:15 -07:00
..
asm-generic cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00
asm-i386 Add atomic_sub_* functions to libspl. 2012-10-17 08:56:37 -07:00
asm-x86_64 Add atomic_sub_* functions to libspl. 2012-10-17 08:56:37 -07:00
include Omit compiler warning by sticking to RAII 2014-05-22 09:44:15 -07:00
getexecname.c cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00
gethrestime.c cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00
gethrtime.c cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00
getmntany.c cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00
list.c Add linux libspl support 2010-08-31 13:41:59 -07:00
Makefile.am Generate libraries with correct DT_NEEDED entries 2013-10-10 16:56:51 -07:00
mkdirp.c Set errno for mkdirp() called with NULL path ptr 2014-04-09 13:32:22 -07:00
strlcat.c Add linux libspl support 2010-08-31 13:41:59 -07:00
strlcpy.c Add linux libspl support 2010-08-31 13:41:59 -07:00
strnlen.c Add linux libspl support 2010-08-31 13:41:59 -07:00
timestamp.c Add linux libspl support 2010-08-31 13:41:59 -07:00
xdr.c Add linux libspl support 2010-08-31 13:41:59 -07:00
zone.c cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00