]> andersk Git - splint.git/blame - test/strchr/strchr.c
Made make lint work. Although exprNode_doSwitchExpr surpresses too much.
[splint.git] / test / strchr / strchr.c
CommitLineData
03d670b6 1
088320ea 2
3void func () {
4 char *c;
5 c = strchr("dfdfedfd", 'e');
6 *c = 'd';
7}
8
9void fixline (char * line)
10{
11 char *p;
12
13 if ( (p = strchr(line, '\n')) )
14 {
15 *p = '\0';
16 }
17
18}
This page took 1.882074 seconds and 5 git commands to generate.