subversion-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Binderman <dcb...@hotmail.com>
Subject subversion/libsvn_subr/path.c:1259: possible bad if ?
Date Fri, 08 May 2015 07:18:50 GMT
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


 		 	   		  
Mime
View raw message