[sr-dev] git:master:e19c1ec5: core: pvapi - remove useless condition
Daniel-Constantin Mierla
miconda at gmail.com
Thu Jul 27 09:16:06 CEST 2017
Module: kamailio
Branch: master
Commit: e19c1ec58c8c51defd91f3e2581544bea224c0bf
URL: https://github.com/kamailio/kamailio/commit/e19c1ec58c8c51defd91f3e2581544bea224c0bf
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at 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/e19c1ec58c8c51defd91f3e2581544bea224c0bf.diff
Patch: https://github.com/kamailio/kamailio/commit/e19c1ec58c8c51defd91f3e2581544bea224c0bf.patch
---
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;
More information about the sr-dev
mailing list