Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix uninitialized variable in
zstream redup
command
The 'rdt.ddt_count' variable is uninitialized because it was allocated from the stack and not globally. Initialize it. This was reported by gcc when compiling with debugging enabled. zstream_redup.c:157:16: error: 'rdt.ddt_count' may be used uninitialized in this function [-Werror=maybe-uninitialized] Signed-off-by: Brian Behlendorf <[email protected]>
- Loading branch information