Skip to content
Snippets Groups Projects
Commit e226ccf6 authored by Jonathan Lebon's avatar Jonathan Lebon Committed by Colin Walters
Browse files

console: trim useless check

The `percentage` var is a guint and so is always >= 0.

Coverity CID: 163703
parent 6bd24bae
No related branches found
No related tags found
No related merge requests found
......@@ -275,7 +275,7 @@ void
glnx_console_progress_text_percent (const char *text,
guint percentage)
{
g_return_if_fail (percentage >= 0 && percentage <= 100);
g_return_if_fail (percentage <= 100);
text_percent_internal (text, percentage);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment