diff options
author | Brian Behlendorf <[email protected]> | 2009-10-23 11:43:09 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2009-10-23 11:43:09 -0700 |
commit | 5972702242ee099e851c4812fd7b3e3dcb477164 (patch) | |
tree | 788bc622c4e39b6d2b0060991b050873c6d43f58 /cmd | |
parent | 069d3a4c5557f9e5cc466bf3b8281ca0e092ad14 (diff) |
Add two more possible uninit vars flagged by gcc.
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/zfs/zfs_main.c | 2 | ||||
-rw-r--r-- | 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 25cf7d638..57b95f39a 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 b637822d4..8d8285d5c 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, ""); |