aboutsummaryrefslogtreecommitdiffstats
path: root/lib/src
diff options
context:
space:
mode:
Diffstat (limited to 'lib/src')
-rw-r--r--lib/src/policy.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/src/policy.c b/lib/src/policy.c
index 0b4850b93..4a4b9fa89 100644
--- a/lib/src/policy.c
+++ b/lib/src/policy.c
@@ -69,8 +69,5 @@ policy_tag_state_snprintf (char *s, size_t size,
if (rc < 0)
return rc;
cur += rc;
- if (size != 0 && cur >= s + size)
- return (int) (cur - s);
-
return (int) (cur - s);
}