]> git.ipfire.org Git - thirdparty/cups.git/commit
Remove useless depth argument from static function cups_get_printer_uri 589/head
authorRose <83477269+AtariDreams@users.noreply.github.com>
Fri, 20 Jan 2023 17:34:50 +0000 (12:34 -0500)
committerRose <83477269+AtariDreams@users.noreply.github.com>
Fri, 20 Jan 2023 17:55:32 +0000 (12:55 -0500)
commit896a52ac29235d6add2ac1c8fdf3bb019717741f
tree2e7ccc6ee955d7238216883f7fc6eb0864cb0194
parentfe15db2f3140e86085baccda508cfc4e2d9e19e0
Remove useless depth argument from static function cups_get_printer_uri

This is safe to do since this function is not supposed to be exposed via the ABI, nor is there a pointer to this function, so as long as every other function in the file accommodates this change, no behavioral change should happen.

In addition, depth is always 0 and only used for one debug print statement anyway, so we can and should remove it, instead of simply declaring it unused.
cups/ppd-util.c