From 5972702242ee099e851c4812fd7b3e3dcb477164 Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Fri, 23 Oct 2009 11:43:09 -0700 Subject: [PATCH] Add two more possible uninit vars flagged by gcc. --- cmd/zfs/zfs_main.c | 2 +- cmd/zpool/zpool_main.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/zfs/zfs_main.c b/cmd/zfs/zfs_main.c index 25cf7d638e..57b95f39a1 100644 --- a/cmd/zfs/zfs_main.c +++ b/cmd/zfs/zfs_main.c @@ -4027,7 +4027,7 @@ int main(int argc, char **argv) { int ret; - int i; + int i = 0; char *progname; char *cmdname; diff --git a/cmd/zpool/zpool_main.c b/cmd/zpool/zpool_main.c index b637822d44..8d8285d5c1 100644 --- a/cmd/zpool/zpool_main.c +++ b/cmd/zpool/zpool_main.c @@ -3942,7 +3942,7 @@ int main(int argc, char **argv) { int ret; - int i; + int i = 0; char *cmdname; (void) setlocale(LC_ALL, "");