1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

commands/toolcontext.c:578: warning: ‘udev_dir’ may be used uninitialized in this function

commands/toolcontext.c:576: warning: ‘udev_dir_len’ may be used uninitialized in this function

Bogus - suppress them.
This commit is contained in:
Alasdair Kergon 2011-04-29 16:23:39 +00:00
parent c0a1ec237f
commit 4cda44bfb9

View File

@ -573,9 +573,9 @@ static int _init_dev_cache(struct cmd_context *cmd)
{
const struct config_node *cn;
const struct config_value *cv;
size_t udev_dir_len, len;
size_t uninitialized_var(udev_dir_len), len;
int device_list_from_udev;
const char *udev_dir;
const char *uninitialized_var(udev_dir);
init_dev_disable_after_error_count(
find_config_tree_int(cmd, "devices/disable_after_error_count",