mirror of
https://github.com/nilfs-dev/nilfs-utils.git
synced 2026-01-26 13:43:15 +00:00
Fix the following checkpatch errors: ERROR: do not initialise statics to 0 or NULL #92: FILE: lscp.c:92: +static int show_all = 0; ERROR: do not initialise statics to 0 or NULL #82: FILE: rmcp.c:82: +static int force = 0; ERROR: do not initialise statics to 0 or NULL #83: FILE: rmcp.c:83: +static int interactive = 0; ERROR: do not initialise statics to 0 or NULL #108: FILE: mkfs/mkfs.c:108: +static int quiet = 0; ERROR: do not initialise statics to 0 or NULL #109: FILE: mkfs/mkfs.c:109: +static int cflag = 0; ERROR: do not initialise statics to 0 or NULL #110: FILE: mkfs/mkfs.c:110: +static int nflag = 0; ERROR: do not initialise statics to 0 or NULL #111: FILE: mkfs/mkfs.c:111: +static int verbose = 0; ERROR: do not initialise statics to 0 or NULL #113: FILE: mkfs/mkfs.c:113: +static int force_overwrite = 0; ERROR: do not initialise statics to 0 or NULL #118: FILE: mkfs/mkfs.c:118: +static time_t creation_time = 0; ERROR: do not initialise statics to 0 or NULL #236: FILE: mkfs/mkfs.c:236: +static void **disk_buffer = NULL; ERROR: do not initialise statics to 0 or NULL #54: FILE: mount/fstab.c:54: +static int have_mtab_info = 0; ERROR: do not initialise statics to 0 or NULL #55: FILE: mount/fstab.c:55: +static int var_mtab_does_not_exist = 0; ERROR: do not initialise statics to 0 or NULL #56: FILE: mount/fstab.c:56: +static int var_mtab_is_a_symlink = 0; ERROR: do not initialise statics to 0 or NULL #108: FILE: mount/fstab.c:108: +static int got_mtab = 0; ERROR: do not initialise statics to 0 or NULL #109: FILE: mount/fstab.c:109: +static int got_fstab = 0; ERROR: do not initialise statics to 0 or NULL #327: FILE: mount/fstab.c:327: +static int we_created_lockfile = 0; ERROR: do not initialise statics to 0 or NULL #331: FILE: mount/fstab.c:331: +static int signals_have_been_setup = 0; ERROR: do not initialise globals to 0 or NULL #97: FILE: mount/mount.nilfs2.c:97: +int verbose = 0; ERROR: do not initialise globals to 0 or NULL #98: FILE: mount/mount.nilfs2.c:98: +int mount_quiet = 0; ERROR: do not initialise globals to 0 or NULL #99: FILE: mount/mount.nilfs2.c:99: +int readonly = 0; ERROR: do not initialise globals to 0 or NULL #100: FILE: mount/mount.nilfs2.c💯 +int readwrite = 0; ERROR: do not initialise statics to 0 or NULL #101: FILE: mount/mount.nilfs2.c:101: +static int nomtab = 0; ERROR: do not initialise statics to 0 or NULL #102: FILE: mount/mount.nilfs2.c:102: +static int devro = 0; ERROR: do not initialise statics to 0 or NULL #103: FILE: mount/mount.nilfs2.c:103: +static int fake = 0; ERROR: do not initialise globals to 0 or NULL #90: FILE: mount/mount_libmount.c:90: +int mount_quiet = 0; /* for sundries.c */ ERROR: do not initialise statics to 0 or NULL #91: FILE: mount/mount_libmount.c:91: +static int verbose = 0; ERROR: do not initialise statics to 0 or NULL #92: FILE: mount/mount_libmount.c:92: +static int devro = 0; ERROR: do not initialise statics to 0 or NULL #94: FILE: mount/mount_libmount.c:94: +static char *mount_fstype = NULL; ERROR: do not initialise globals to 0 or NULL #98: FILE: mount/umount.nilfs2.c:98: +int verbose = 0; ERROR: do not initialise globals to 0 or NULL #99: FILE: mount/umount.nilfs2.c:99: +int mount_quiet = 0; ERROR: do not initialise globals to 0 or NULL #100: FILE: mount/umount.nilfs2.c💯 +int readonly = 0; ERROR: do not initialise globals to 0 or NULL #101: FILE: mount/umount.nilfs2.c:101: +int readwrite = 0; ERROR: do not initialise statics to 0 or NULL #102: FILE: mount/umount.nilfs2.c:102: +static int nomtab = 0; ERROR: do not initialise globals to 0 or NULL #82: FILE: mount/umount_libmount.c:82: +int mount_quiet = 0; /* for sundries.c */ ERROR: do not initialise statics to 0 or NULL #83: FILE: mount/umount_libmount.c:83: +static int verbose = 0; ERROR: do not initialise statics to 0 or NULL #84: FILE: mount/umount_libmount.c:84: +static int force = 0; ERROR: do not initialise statics to 0 or NULL #85: FILE: mount/umount_libmount.c:85: +static int suid = 0; /* reserved for non-root user mount/umount ERROR: do not initialise statics to 0 or NULL #125: FILE: nilfs-clean/nilfs-clean.c:125: +static int show_version_only = 0; ERROR: do not initialise statics to 0 or NULL #126: FILE: nilfs-clean/nilfs-clean.c:126: +static int verbose = 0; ERROR: do not initialise statics to 0 or NULL #128: FILE: nilfs-clean/nilfs-clean.c:128: +static const char *conffile = NULL; ERROR: do not initialise statics to 0 or NULL #105: FILE: nilfs-resize/nilfs-resize.c:105: +static int show_version_only = 0; ERROR: do not initialise statics to 0 or NULL #106: FILE: nilfs-resize/nilfs-resize.c:106: +static int verbose = 0; ERROR: do not initialise statics to 0 or NULL #107: FILE: nilfs-resize/nilfs-resize.c:107: +static int assume_yes = 0; ERROR: do not initialise statics to 0 or NULL #143: FILE: nilfs-resize/nilfs-resize.c:143: +static int pm_in_progress = 0; /* 0: off, 1: on, -1: interrupted */ Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>