Remove a pointless comparison

Comparing an unsigned value against < 0 is not going to succeed.
Pointed out by clang.
This commit is contained in:
Matthias Clasen 2015-03-22 15:16:14 -04:00
parent 2250cd87eb
commit fb573e58f1

View File

@ -1785,7 +1785,7 @@ _gtk_print_operation_set_status (GtkPrintOperation *op,
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;
if (string == NULL)