util-linux/sys-utils
Sami Kerola 4813a5210f various: fix 'uninitialized when used' warnings [clang]
This change fixes "warning: variable 'var' may be uninitialized when used
here [-Wconditional-uninitialized]" warnings reported in various files.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2019-02-18 13:19:24 +01:00
..
.gitignore build-sys: support ./configure ADJTIME_PATH= 2014-06-19 10:30:56 +02:00
Makemodule.am build-sys: use REALTIME_LIBS for hwclock due to monotonic.c 2019-01-14 12:18:35 +01:00
adjtime_config.5 docs: add adjtime_config(5) man page 2018-08-14 14:53:14 +02:00
blkdiscard.8 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
blkdiscard.c misc: consolidate macro style USAGE_HELP_OPTIONS 2017-06-29 16:54:33 +02:00
blkzone.8 man pages: Remove "left" (or change to "l") in the column formats of tables 2018-08-06 08:58:57 +02:00
blkzone.c blkzone: fix report zones sector offset check 2018-10-23 11:49:41 +02:00
chcpu.8 man: Use the correct macro for a font change of one argument 2018-05-23 10:43:27 +02:00
chcpu.c chcpu: use new ul_path_* API 2018-06-21 13:07:46 +02:00
chmem.8 man: Use the correct macro for a font change of one argument 2018-05-23 10:43:27 +02:00
chmem.c chmem: add initilizer [clang] 2019-01-02 14:40:40 +01:00
choom.1 Fix man page typos 2018-08-16 11:09:15 +02:00
choom.c choom: fix negative adjust score usage 2018-12-10 14:26:04 +01:00
ctrlaltdel.8 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
ctrlaltdel.c ctrlaltdel: use new ul_path_* API 2018-06-21 13:07:46 +02:00
dmesg.1 dmesg: correct "-n, --console-level level" example in manual page 2018-12-17 10:16:26 +01:00
dmesg.c dmesg: fix raw output 2018-04-05 15:59:59 +02:00
eject.1 docs: remove some old history from manpages 2017-06-29 12:56:22 +02:00
eject.c eject: use err() rather than abort() 2018-11-05 10:35:24 +01:00
fallocate.1 fallocate: add man page note about --collapse-range granularity 2018-07-03 13:51:51 +02:00
fallocate.c fallocate: add missing semicolon 2018-09-10 15:25:16 +03:00
flock.1 man: Use the correct macro for a font change of one argument 2018-05-23 10:43:27 +02:00
flock.c lib/timer: add fallback if timer_create() not available 2018-12-03 11:23:33 +01:00
fsfreeze.8 man: Use the correct macro for a font change of one argument 2018-05-23 10:43:27 +02:00
fsfreeze.c misc: consolidate macro style USAGE_HELP_OPTIONS 2017-06-29 16:54:33 +02:00
fstab.5 fstab(5): mention how tabs are escaped 2017-07-31 13:48:04 +02:00
fstrim.8 fstrim: trim also root FS on --fstab 2018-12-10 11:45:03 +01:00
fstrim.c fstrim: check for read-only devices on -a/-A 2019-01-11 10:44:14 +01:00
fstrim.service.in fstrim: Add hardening settings to fstrim.service 2018-11-22 11:13:58 +01:00
fstrim.timer fstrim: systemd timer units should be WantedBy=timers.target 2016-01-12 10:30:36 +01:00
hwclock-cmos.c hwclock: fix warning 2018-07-20 12:25:38 +02:00
hwclock-rtc.c hwclock: use monotonic time to measure how long setting time takes 2019-01-12 08:46:54 +00:00
hwclock.8.in man pages: Fix misuse of two-fonts-macros (BR, IR) 2018-08-06 08:58:57 +02:00
hwclock.c various: fix 'uninitialized when used' warnings [clang] 2019-02-18 13:19:24 +01:00
hwclock.h hwclock: add --delay <seconds> 2018-07-18 13:59:15 +02:00
ipcmk.1 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
ipcmk.c misc: consolidate macro style USAGE_HELP_OPTIONS 2017-06-29 16:54:33 +02:00
ipcrm.1 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
ipcrm.c misc: consolidate macro style USAGE_HELP_OPTIONS 2017-06-29 16:54:33 +02:00
ipcs.1 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
ipcs.c misc: consolidate macro style USAGE_HELP_OPTIONS 2017-06-29 16:54:33 +02:00
ipcutils.c ipcs,chmem: fix access() usage 2018-06-25 16:49:00 +02:00
ipcutils.h ipcs: use new ul_path_* API 2018-06-21 13:07:46 +02:00
ldattach.8 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
ldattach.c ldattach: Check for value of _HAVE_STRUCT_TERMIOS_C_ISPEED 2019-01-04 22:38:25 -08:00
losetup.8 losetup: properly use --sector-size when create a new device 2019-01-22 11:50:20 +01:00
losetup.c losetup: update an error message 2019-01-22 11:56:16 +01:00
lscpu-arm.c lscpu: fixed part ID for ARM Cortex-M7 2018-08-13 16:45:01 +01:00
lscpu-dmi.c lscpu: move struct lscpu_desc header file 2018-01-22 13:04:12 +01:00
lscpu.1 man pages: Fix misuse of two-fonts-macros (BR, IR) 2018-08-06 08:58:57 +02:00
lscpu.c lscpu: Add aarch32 detection on aarch64 2018-12-11 12:27:29 -06:00
lscpu.h lscpu: add 'Address sizes' 2018-08-01 08:33:32 +02:00
lsipc.1 lsipc: fix options parsing and sync with man page 2017-05-02 23:22:04 +01:00
lsipc.c lsipc: cleanup columns[] usage 2018-04-18 15:51:17 +02:00
lsmem.1 lsmem: add --output-all option 2018-05-03 19:56:20 +01:00
lsmem.c lsmem: use new ul_path_* API 2018-06-21 13:07:46 +02:00
lsns.8 lsns: add --output-all option 2018-05-03 19:56:21 +01:00
lsns.c lsns: remove unnecessary include 2018-05-17 12:42:16 +02:00
mount.8 mount.8: clarify (no)suid behavior on file capabilities 2019-02-01 15:44:20 +01:00
mount.c mount: Do not call mnt_pretty_path() on net file systems. 2019-02-06 11:56:47 +01:00
mountpoint.1 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
mountpoint.c mountpoint: simplify test condition [cppcheck] 2018-05-28 13:39:18 +02:00
nsenter.1 man: Use the correct macro for a font change of one argument 2018-05-23 10:43:27 +02:00
nsenter.c sys-utils: use errexec() 2018-02-01 15:44:25 +01:00
pivot_root.8 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
pivot_root.c misc: consolidate macro style USAGE_HELP_OPTIONS 2017-06-29 16:54:33 +02:00
prlimit.1 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
prlimit.c sys-utils: use errexec() 2018-02-01 15:44:25 +01:00
readprofile.8 Fix man page typos 2018-08-16 11:09:15 +02:00
readprofile.c various: fix 'uninitialized when used' warnings [clang] 2019-02-18 13:19:24 +01:00
renice.1 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
renice.c Fix minor typo: priorty -> priority 2017-12-31 13:07:43 +02:00
rfkill.8 rfkill: add --output-all option 2018-05-03 19:56:21 +01:00
rfkill.c rfkill: don't use lib/path 2018-06-21 13:07:46 +02:00
rtcwake.8.in man pages: Fix misuse of two-fonts-macros (BR, IR) 2018-08-06 08:58:57 +02:00
rtcwake.c rtcwake: use poweroff if shutdown is not found 2018-11-06 12:34:02 +01:00
setarch.8 Fix man page typos 2018-08-16 11:09:15 +02:00
setarch.c various: fix 'uninitialized when used' warnings [clang] 2019-02-18 13:19:24 +01:00
setpriv.1 setpriv: add --reset-env 2018-08-22 11:43:32 +02:00
setpriv.c Remove duplicate entry for reset-env from usage 2018-12-17 17:11:44 -08:00
setsid.1 setsid: new option --fork 2017-11-08 11:38:26 +01:00
setsid.c sys-utils: use errexec() 2018-02-01 15:44:25 +01:00
swapoff.8 build-sys: move swapon from mount/ to sys-utils/ 2012-01-11 12:14:29 +01:00
swapoff.c build-sys: don't check for swapon() number of arguments 2017-12-18 13:57:20 +01:00
swapon-common.c mount, umount, swapon, fsck, lsblk, findmnt: harmonize six error messages 2016-03-16 10:39:38 +01:00
swapon-common.h swapon: split swapon-common.c 2014-09-22 13:16:25 +02:00
swapon.8 swapon: be more explicit about BTRFS 2019-01-22 10:18:12 +01:00
swapon.c swapon: fix compiler warnings [-Wcast-qual] 2018-07-23 11:43:47 +02:00
switch_root.8 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
switch_root.c fix a bug where switch_root would erroneously try to parse initargs 2018-11-12 14:20:45 +01:00
tunelp.8 tunelp: use linux header 2017-07-31 13:48:04 +02:00
tunelp.c tunelp: use linux header 2017-07-31 13:48:04 +02:00
umount.8 Fix man page typos 2018-08-16 11:09:15 +02:00
umount.c umount: fix --quiet 2018-12-10 14:34:12 +01:00
unshare.1 unshare: allow to set user ID and group ID 2018-11-12 11:52:15 +01:00
unshare.c unshare: allow to set user ID and group ID 2018-11-12 11:52:15 +01:00
wdctl.8 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
wdctl.c wdctl: do not call fsync(2) when closing watchdog device 2017-07-31 13:48:04 +02:00
zramctl.8 zramctl: (man) explain that --find is necessary 2018-06-11 11:14:56 +02:00
zramctl.c zramctl: use new ul_path_* API 2018-06-21 13:07:46 +02:00