projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c6bdb87
)
remove double initialization
author
Wilfried Goesgens
<dothebart@citadel.org>
Thu, 31 May 2012 22:36:41 +0000
(
00:36
+0200)
committer
Wilfried Goesgens
<dothebart@citadel.org>
Thu, 31 May 2012 22:36:41 +0000
(
00:36
+0200)
libcitadel/lib/vcard.c
patch
|
blob
|
history
diff --git
a/libcitadel/lib/vcard.c
b/libcitadel/lib/vcard.c
index d23e6d6d953854f447ff9fd8082e6b88b946d201..8c0c79d1ca37a9ea391857e57c9970eb5fa78dbd 100644
(file)
--- a/
libcitadel/lib/vcard.c
+++ b/
libcitadel/lib/vcard.c
@@
-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");