diff options
author | uqs <uqs@FreeBSD.org> | 2010-06-11 17:02:57 +0000 |
---|---|---|
committer | uqs <uqs@FreeBSD.org> | 2010-06-11 17:02:57 +0000 |
commit | 392b002279067173fe32aa39afb0d5b699a64736 (patch) | |
tree | cdbcf9d1abfa8c7fe9340a2d243c6eafce75d545 /sbin/camcontrol | |
parent | ab25f8e13afd25fa86f75b8f51724e49ab9d83e8 (diff) | |
download | FreeBSD-src-392b002279067173fe32aa39afb0d5b699a64736.zip FreeBSD-src-392b002279067173fe32aa39afb0d5b699a64736.tar.gz |
Initialize variables before usage.
Found by: clang static analyzer
Found by: Coverity Prevent[tm] (CID 7736, 7760)
Diffstat (limited to 'sbin/camcontrol')
-rw-r--r-- | sbin/camcontrol/modeedit.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sbin/camcontrol/modeedit.c b/sbin/camcontrol/modeedit.c index 3fb9587..eaf87d6 100644 --- a/sbin/camcontrol/modeedit.c +++ b/sbin/camcontrol/modeedit.c @@ -394,6 +394,7 @@ load_format(const char *pagedb_path, int page) SLIST_INIT(&namelist); + c = '\0'; depth = 0; lineno = 0; found = 0; |