Remove a pointless comparison
Comparing an unsigned value against < 0 is not going to succeed. Pointed out by clang.
This commit is contained in:
parent
2250cd87eb
commit
fb573e58f1
@ -1785,7 +1785,7 @@ _gtk_print_operation_set_status (GtkPrintOperation *op,
|
|||||||
NC_("print operation status", "Finished with error")
|
NC_("print operation status", "Finished with error")
|
||||||
};
|
};
|
||||||
|
|
||||||
if (status < 0 || status > GTK_PRINT_STATUS_FINISHED_ABORTED)
|
if (status > GTK_PRINT_STATUS_FINISHED_ABORTED)
|
||||||
status = GTK_PRINT_STATUS_FINISHED_ABORTED;
|
status = GTK_PRINT_STATUS_FINISHED_ABORTED;
|
||||||
|
|
||||||
if (string == NULL)
|
if (string == NULL)
|
||||||
|
Loading…
Reference in New Issue
Block a user