zfs/lib/libzfs
Brian Behlendorf 98401d2361 Fix maybe uninitialized
As of gcc 5.1.1 20150618 (Red Hat 5.1.1-4) the -Werror=maybe-uninitialized
check detects that 'snapname' in recv_incremental_replication() may not be
initialized.  Explicitly initialize the variable to resolved the warning.

  libzfs_sendrecv.c: In function ‘recv_incremental_replication’:
  libzfs_sendrecv.c:2019:2: error: ‘snapname’ may be used uninitialized in
    (void) snprintf(buf, sizeof (buf), "%s@%s", fsname, snapname);

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
2015-11-09 12:15:19 -08:00
..
.gitignore Add a pkgconfig file 2014-08-28 07:59:43 -07:00
Makefile.am Support parallel build trees (VPATH builds) 2015-07-17 13:42:51 -07:00
libzfs.pc.in Add a pkgconfig file 2014-08-28 07:59:43 -07:00
libzfs_changelist.c Remove ZFC_IOC_*_MINOR ioctl()s 2013-12-16 09:15:57 -08:00
libzfs_config.c Illumos #3464 2013-09-04 16:01:24 -07:00
libzfs_core.pc.in Add a pkgconfig file 2014-08-28 07:59:43 -07:00
libzfs_dataset.c Add temporary mount options 2015-09-03 14:14:55 -07:00
libzfs_diff.c Change 3-digit octal escapes to 4-digit ones 2015-05-18 17:14:07 -07:00
libzfs_fru.c cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00
libzfs_graph.c Illumos #3464 2013-09-04 16:01:24 -07:00
libzfs_import.c Illumos 4626 - libzfs memleak in zpool_in_use() 2015-07-10 11:57:38 -07:00
libzfs_iter.c Illumos 5427 - memory leak in libzfs when doing rollback 2015-07-10 12:09:32 -07:00
libzfs_mount.c Honor xattr=sa dataset property 2015-09-19 14:04:14 -07:00
libzfs_pool.c Fix Xen Virtual Block Device detection 2015-07-10 12:21:14 -07:00
libzfs_sendrecv.c Fix maybe uninitialized 2015-11-09 12:15:19 -08:00
libzfs_status.c Read spl_hostid module parameter before gethostid() 2015-02-04 16:44:53 -08:00
libzfs_util.c libzfs: handle EDOM errors 2015-10-13 09:54:04 -07:00