]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
cupsDoRequest() response pointer does not need to get initialized 599/head
authorTill Kamppeter <till.kamppeter@gmail.com>
Sun, 29 Jan 2023 00:23:20 +0000 (21:23 -0300)
committerTill Kamppeter <till.kamppeter@gmail.com>
Sun, 29 Jan 2023 00:23:20 +0000 (21:23 -0300)
scheduler/ipp.c

index f048a000ee5e058c6503000e5aeef56e65850117..ac1545c0e9cd7e216ff41e9a155a3a6a88ab94dd 100644 (file)
@@ -5392,7 +5392,7 @@ create_local_bg_thread(
   if (ippFindAttribute(response, "media-col-database", IPP_TAG_ZERO) ==
       NULL)
   {
-    ipp_t *response2 = NULL;
+    ipp_t *response2;
 
     cupsdLogMessage(CUPSD_LOG_DEBUG,
                    "Polling \"media-col-database\" attribute separately.");