Don't try calling lsl when file is missing.
[splint-patched.git] / test / strchr / strchr.c
blob1d97c231c389fd31cc6992875dd2a20bab60f8ec
2 void func () {
3 char *c;
4 c = strchr("dfdfedfd", 'e');
5 *c = 'd'; /* modification of observer, possibly null */
8 void fixline (char * line)
10 char *p;
12 if ( (p = strchr(line, '\n')) )
14 *p = '\0';