From: Andre Noll Date: Tue, 17 Oct 2017 16:59:42 +0000 (+0200) Subject: main(): Don't initialize user data pointer. X-Git-Tag: v1.0.0~11^2~2 X-Git-Url: http://git.tue.mpg.de/?a=commitdiff_plain;h=f38f86c1d4695a7016d5002e979c4f68ed12fb69;p=dss.git 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. --- 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) {