fixes for VS2010 code analysis - hope these are OK else-ware

This commit is contained in:
Jeff Lenk
2014-05-20 22:54:03 -05:00
parent bedf8327b6
commit e6ac87f5f1
2 changed files with 9 additions and 0 deletions

View File

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