dtprintinfo: Resolve uninitialized warnings
This commit is contained in:
committed by
Jon Trulson
parent
284c760616
commit
3600e87527
@@ -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);
|
||||
|
||||
@@ -177,7 +177,7 @@ static void TurnOffHourGlass(BaseUI *obj, void *data)
|
||||
|
||||
void DtSetPref::Apply()
|
||||
{
|
||||
IconStyle style;
|
||||
IconStyle style = NAME_ONLY;
|
||||
boolean add_timeout = false;
|
||||
|
||||
if (by_name->Selected())
|
||||
|
||||
Reference in New Issue
Block a user