Author: abartlet
Date: 2006-12-12 21:47:47 +0000 (Tue, 12 Dec 2006)
New Revision: 20134

WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=20134

Log:
The IBM Checker correctly notes that *p cannot be \0 and still satisfy
the loop entry condition.

Andrew Bartlett

Modified:
   branches/SAMBA_4_0/source/lib/samba3/smbpasswd.c


Changeset:
Modified: branches/SAMBA_4_0/source/lib/samba3/smbpasswd.c
===================================================================
--- branches/SAMBA_4_0/source/lib/samba3/smbpasswd.c    2006-12-12 20:30:31 UTC 
(rev 20133)
+++ branches/SAMBA_4_0/source/lib/samba3/smbpasswd.c    2006-12-12 21:47:47 UTC 
(rev 20134)
@@ -169,7 +169,6 @@
                        break;
                case ':':
                case '\n':
-               case '\0': 
                case ']':
                default:  
                        finished = True;

Reply via email to