diff options
author | Caolán McNamara <caolanm@redhat.com> | 2010-10-18 14:43:28 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2010-10-18 14:43:28 +0100 |
commit | ed6f79269af3a2e45409522d3a0e948fa440023c (patch) | |
tree | 63f0d1ab22203cc6741d11e0ef51607a257a8dcc /soltools | |
parent | remove empty files (diff) | |
download | core-ed6f79269af3a2e45409522d3a0e948fa440023c.tar.gz core-ed6f79269af3a2e45409522d3a0e948fa440023c.zip |
CLang++ Dead increment
Diffstat (limited to 'soltools')
-rw-r--r-- | soltools/mkdepend/include.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/soltools/mkdepend/include.c b/soltools/mkdepend/include.c index 45d0730393a3..69313183526e 100644 --- a/soltools/mkdepend/include.c +++ b/soltools/mkdepend/include.c @@ -212,7 +212,7 @@ void remove_dotdot(path) int isdot(p) register char *p; { - if(p && *p++ == '.' && *p++ == '\0') + if(p && p[0] == '.' && p[1] == '\0') return(TRUE); return(FALSE); } @@ -220,7 +220,7 @@ int isdot(p) int isdotdot(p) register char *p; { - if(p && *p++ == '.' && *p++ == '.' && *p++ == '\0') + if(p && p[0] == '.' && p[1] == '.' && p[2] == '\0') return(TRUE); return(FALSE); } |