no need to check if p is null, it can never be null

This commit is contained in:
Michael Jerris 2014-05-07 12:37:30 -04:00
parent a0589394f6
commit 7011602550

View File

@ -414,9 +414,6 @@ TELETONE_API(int) teletone_run(teletone_generation_session_t *ts, const char *cm
*e++ = '\0'; *e++ = '\0';
} }
do { do {
if (!p) {
break;
}
if ((next = strchr(p, ',')) != 0) { if ((next = strchr(p, ',')) != 0) {
*next++ = '\0'; *next++ = '\0';
} }