Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/dist/pdisk ensure variable is initialized



details:   https://anonhg.NetBSD.org/src/rev/cd0011e08504
branches:  trunk
changeset: 546262:cd0011e08504
user:      dbj <dbj%NetBSD.org@localhost>
date:      Thu Apr 24 07:05:21 2003 +0000

description:
ensure variable is initialized

diffstat:

 dist/pdisk/partition_map.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r f91e870b3a06 -r cd0011e08504 dist/pdisk/partition_map.c
--- a/dist/pdisk/partition_map.c        Thu Apr 24 06:32:42 2003 +0000
+++ b/dist/pdisk/partition_map.c        Thu Apr 24 07:05:21 2003 +0000
@@ -319,7 +319,7 @@
     char *block;
     partition_map * entry;
     int i = 0;
-    int result;
+    int result = 0;
 
     m = map->m;
     if (map->misc != NULL) {



Home | Main Index | Thread Index | Old Index