From 4cda44bfb970759c9280eb74c372865de561928b Mon Sep 17 00:00:00 2001 From: Alasdair Kergon Date: Fri, 29 Apr 2011 16:23:39 +0000 Subject: [PATCH] =?UTF-8?q?commands/toolcontext.c:578:=20warning:=20=C3=A2?= =?UTF-8?q?=E2=82=AC=CB=9Cudev=5Fdir=C3=A2=E2=82=AC=E2=84=A2=20may=20be=20?= =?UTF-8?q?used=20uninitialized=20in=20this=20function=20commands/toolcont?= =?UTF-8?q?ext.c:576:=20warning:=20=C3=A2=E2=82=AC=CB=9Cudev=5Fdir=5Flen?= =?UTF-8?q?=C3=A2=E2=82=AC=E2=84=A2=20may=20be=20used=20uninitialized=20in?= =?UTF-8?q?=20this=20function?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bogus - suppress them. --- lib/commands/toolcontext.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/commands/toolcontext.c b/lib/commands/toolcontext.c index 8b020d1ae..9b3e27f4e 100644 --- a/lib/commands/toolcontext.c +++ b/lib/commands/toolcontext.c @@ -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",