Module: kamailio
Branch: master
Commit: e19c1ec58c8c51defd91f3e2581544bea224c0bf
URL:
https://github.com/kamailio/kamailio/commit/e19c1ec58c8c51defd91f3e2581544b…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2017-07-27T09:08:24+02:00
core: pvapi - remove useless condition
---
Modified: src/core/pvapi.c
---
Diff:
https://github.com/kamailio/kamailio/commit/e19c1ec58c8c51defd91f3e2581544b…
Patch:
https://github.com/kamailio/kamailio/commit/e19c1ec58c8c51defd91f3e2581544b…
---
diff --git a/src/core/pvapi.c b/src/core/pvapi.c
index 2f85783ea4..7e3d7b9b4b 100644
--- a/src/core/pvapi.c
+++ b/src/core/pvapi.c
@@ -1096,8 +1096,6 @@ int pv_parse_format(str *in, pv_elem_p *el)
goto error;
p0 = p + len;
- if(p0==NULL)
- goto error;
if(*p0 == '\0')
break;
p = p0;