From fb573e58f12ebc26cf106f85aae4315e30f5078d Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sun, 22 Mar 2015 15:16:14 -0400 Subject: [PATCH] Remove a pointless comparison Comparing an unsigned value against < 0 is not going to succeed. Pointed out by clang. --- gtk/gtkprintoperation.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/gtkprintoperation.c b/gtk/gtkprintoperation.c index 1f45c4fec5..057430b412 100644 --- a/gtk/gtkprintoperation.c +++ b/gtk/gtkprintoperation.c @@ -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)