From f38f86c1d4695a7016d5002e979c4f68ed12fb69 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Tue, 17 Oct 2017 18:59:42 +0200 Subject: [PATCH] main(): Don't initialize user data pointer. It is never used uninitialized. The unnecessary initialization only hides the warning from the compiler if it ever should ever be used uninitialized. --- dss.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dss.c b/dss.c index 3e626ab..366f6e2 100644 --- a/dss.c +++ b/dss.c @@ -1748,7 +1748,7 @@ int main(int argc, char **argv) const struct lls_command *cmd = CMD_PTR(DSS); char *errctx = NULL; unsigned num_inputs; - const struct dss_user_data *ud = NULL; + const struct dss_user_data *ud; ret = lls_parse(argc, argv, cmd, &cmdline_lpr, &errctx); if (ret < 0) { -- 2.39.2