Files
mirror_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
..
2014-08-28 07:59:43 -07:00
2013-09-04 16:01:24 -07:00
2014-08-28 07:59:43 -07:00
2015-09-03 14:14:55 -07:00
2013-12-18 16:46:35 -08:00
2013-09-04 16:01:24 -07:00
2015-09-19 14:04:14 -07:00
2015-11-09 12:15:19 -08:00
2015-10-13 09:54:04 -07:00
2014-08-28 07:59:43 -07:00