Fix a bunch of -Wempty-body warnings reported by clang
Many of these were real bugs, like: if (cond); do_something etc... Others were just cosmetic - like placing the ';' on a separate line to make the intention clear.
This commit is contained in:
@@ -573,7 +573,8 @@ _DtPrintGetDefaultXPrinterName(
|
||||
else if((default_printer = getenv("XPRINTER")) != (String)NULL);
|
||||
else if((default_printer = getenv("PDPRINTER")) != (String)NULL);
|
||||
else if((default_printer = getenv("LPDEST")) != (String)NULL);
|
||||
else if((default_printer = getenv("PRINTER")) != (String)NULL);
|
||||
else if((default_printer = getenv("PRINTER")) != (String)NULL)
|
||||
;
|
||||
/*
|
||||
* return a copy of the printer name
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user