diff options
Diffstat (limited to 'libfdisk/src/dos.c')
-rw-r--r-- | libfdisk/src/dos.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libfdisk/src/dos.c b/libfdisk/src/dos.c index 2e46aca70..8e9678da3 100644 --- a/libfdisk/src/dos.c +++ b/libfdisk/src/dos.c @@ -1708,7 +1708,7 @@ static int dos_add_partition(struct fdisk_context *cxt, } else { char hint[BUFSIZ]; struct fdisk_ask *ask; - int c; + int c = 0; /* the default layout for scripts is to create primary partitions */ if (cxt->script || !fdisk_has_dialogs(cxt)) { |