]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Make sure 'lang' is initializes.
authorMichael R Sweet <msweet@msweet.org>
Sat, 6 Mar 2021 21:16:42 +0000 (16:16 -0500)
committerMichael R Sweet <msweet@msweet.org>
Sat, 6 Mar 2021 21:16:42 +0000 (16:16 -0500)
cups/testlang.c

index 057de84e79da43e73c696aefb426e26116e9ddfa..3c83ca61a6ac7730b8582cc4c2e4e4d4c43e7258 100644 (file)
@@ -50,7 +50,7 @@ main(int  argc,                               /* I - Number of command-line arguments */
   const char   *opt;                   /* Current option */
   int          errors = 0;             /* Number of errors */
   int          dotests = 1;            /* Do standard tests? */
-  const char   *lang;                  /* Single language test? */
+  const char   *lang = NULL;           /* Single language test? */
   cups_lang_t  *language = NULL;       /* Message catalog */