remove double initialization
authorWilfried Goesgens <dothebart@citadel.org>
Thu, 31 May 2012 22:36:41 +0000 (00:36 +0200)
committerWilfried Goesgens <dothebart@citadel.org>
Thu, 31 May 2012 22:36:41 +0000 (00:36 +0200)
libcitadel/lib/vcard.c

index d23e6d6d953854f447ff9fd8082e6b88b946d201..8c0c79d1ca37a9ea391857e57c9970eb5fa78dbd 100644 (file)
@@ -142,8 +142,6 @@ struct vCard *vcard_load(char *vtext) {
 
        ptr = mycopy;
        while (!IsEmptyStr(ptr)) {
-               colonpos = (-1);
-               nlpos = (-1);
                colonpos = pattern2(ptr, ":");
                nlpos = pattern2(ptr, "\n");