subversion/libsvn_subr/path.c:1259: possible bad if ?
From: David Binderman <dcb314_at_hotmail.com>
Date: Fri, 8 May 2015 07:18:50 +0000
Hello there,
[subversion/libsvn_subr/path.c:1259]: (warning) Char literal compared with pointer 'last_dot'. Did you intend to dereference it?
if (last_dot && (last_dot + 1 != '\0'))
Maybe
if (last_dot && (last_dot[ 1] != '\0'))
Regards
David Binderman
|
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.