From 7011602550099f1c3be5fb8e33854a0eec4e116b Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Wed, 7 May 2014 12:37:30 -0400 Subject: [PATCH] no need to check if p is null, it can never be null --- libs/libteletone/src/libteletone_generate.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/libs/libteletone/src/libteletone_generate.c b/libs/libteletone/src/libteletone_generate.c index 3638d94989..3347909958 100644 --- a/libs/libteletone/src/libteletone_generate.c +++ b/libs/libteletone/src/libteletone_generate.c @@ -414,9 +414,6 @@ TELETONE_API(int) teletone_run(teletone_generation_session_t *ts, const char *cm *e++ = '\0'; } do { - if (!p) { - break; - } if ((next = strchr(p, ',')) != 0) { *next++ = '\0'; }