Brian Behlendorf 6de3e59bdd
Fix unitialized variable in zstream redup command
Fix uninitialized variable in `zstream redup` command.  The compiler
may determine the 'stream_offset' variable can be uninitialized
because not all rdt_lookup() exit paths set it.  This should never
happen in practice as documented by the assert, but initialize it
regardless to resolve the warning.

Reviewed-by: Matthew Ahrens <mahrens@delphix.com>
Reviewed-by: George Melikov <mail@gmelikov.ru>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #10241
Closes #10244
2020-04-23 15:54:38 -07:00
..
2019-08-30 09:43:30 -07:00
2019-10-02 10:39:48 -07:00
2020-01-23 11:01:24 -08:00
2019-08-30 09:43:30 -07:00
2020-04-17 09:27:40 -07:00
2020-04-23 10:06:57 -07:00
2019-11-01 10:31:42 -07:00
2020-04-21 09:29:31 -07:00
2019-10-02 10:39:48 -07:00
2020-04-14 11:36:28 -07:00