summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrbuj <[email protected]>2022-03-14 13:07:15 +0100
committerLuke from DC <[email protected]>2023-03-22 03:19:45 +0000
commitc7bb2fa397156a1ce000fe375acfe82a39d51cb0 (patch)
tree27fd79c71ae9d03decb54358d630a32fb43b790e
parent54d7198819fee2630dee644c149320a5ad4a5b88 (diff)
downloadengrampa-c7bb2fa397156a1ce000fe375acfe82a39d51cb0.tar.bz2
engrampa-c7bb2fa397156a1ce000fe375acfe82a39d51cb0.tar.xz
glib-utils: redundant condition
-rw-r--r--src/glib-utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glib-utils.c b/src/glib-utils.c
index 2f9c02e..88b90c9 100644
--- a/src/glib-utils.c
+++ b/src/glib-utils.c
@@ -363,7 +363,7 @@ eat_spaces (const char *line)
{
if (line == NULL)
return NULL;
- while ((*line == ' ') && (*line != 0))
+ while (*line == ' ')
line++;
return line;
}