dtprintinfo: Resolve uninitialized warnings

This commit is contained in:
Peter Howkins
2021-12-22 01:17:10 +00:00
committed by Jon Trulson
parent 284c760616
commit 3600e87527
10 changed files with 19 additions and 19 deletions

View File

@@ -221,7 +221,7 @@ DtApp::DtApp(char *progname, int *argc, char **argv) :
// Save print job's class name for registering GUI actions
PrintJob *dummy_printjob;
char *className;
char *className = NULL;
if (app_mode != CONFIG_PRINTERS)
{
dummy_printjob = new PrintJob(NULL, "_FOO", NULL, NULL, NULL, NULL, NULL);