summaryrefslogtreecommitdiffstats
path: root/ctxopt.c
diff options
context:
space:
mode:
authorpgen <p.gen.progs@gmail.com>2024-01-25 21:58:05 +0100
committerpgen <p.gen.progs@gmail.com>2024-01-25 21:58:05 +0100
commita604f325cf77000f9a055c5fbbeae740cf77aed3 (patch)
tree861d6672f50cef63c875ea4d829eea1e72052bf6 /ctxopt.c
parente9e1b762c441849c741591cde58a6a803c59a57a (diff)
Initialize some variables before use
Diffstat (limited to 'ctxopt.c')
-rw-r--r--ctxopt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ctxopt.c b/ctxopt.c
index 7b25f35..756202d 100644
--- a/ctxopt.c
+++ b/ctxopt.c
@@ -4601,7 +4601,7 @@ ctxopt_add_opt_settings(settings s, ...)
/* """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" */
case parameters:
{
- char *opt_name;
+ char *opt_name = NULL;
char *params;
/* The second argument must be a string containing: */