aboutsummaryrefslogtreecommitdiffstats
path: root/main/app.c
diff options
context:
space:
mode:
Diffstat (limited to 'main/app.c')
-rw-r--r--main/app.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/main/app.c b/main/app.c
index bf3b248d4..2b63128af 100644
--- a/main/app.c
+++ b/main/app.c
@@ -1703,11 +1703,6 @@ int ast_get_encoded_char(const char *stream, char *result, size_t *consumed)
int i;
*consumed = 1;
*result = 0;
- if (ast_strlen_zero(stream)) {
- *consumed = 0;
- return -1;
- }
-
if (*stream == '\\') {
*consumed = 2;
switch (*(stream + 1)) {