]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Fix: Initialize variable and wrap standard IPP registration
authorabubakarsabir924-cell <abubakarsabir924@gmail.com>
Fri, 1 May 2026 20:07:13 +0000 (01:07 +0500)
committerabubakarsabir924-cell <abubakarsabir924@gmail.com>
Fri, 1 May 2026 20:07:13 +0000 (01:07 +0500)
scheduler/dirsvc.c

index 91a06b9faf7a290530a9767102dc2a5a7e87f556..201565c95318f98df7d413b25515e03dd8d91a4e 100644 (file)
@@ -460,7 +460,7 @@ dnssdRegisterPrinter(
 {
   char         name[256],              /* Service name */
                regtype[256];           /* Registration type(s) */
-  int          num_txt; = 0;           /* Number of IPP(S) TXT key/value pairs */
+  int          num_txt = 0;            /* Number of IPP(S) TXT key/value pairs */
   cups_option_t        *txt = NULL;            /* IPP(S) TXT key/value pairs */
   bool         status;                 /* Registration status */