aboutsummaryrefslogtreecommitdiff
path: root/libcacard/vcard.c
diff options
context:
space:
mode:
authorMichael Tokarev <mjt@tls.msk.ru>2014-05-08 21:17:38 +0400
committerMichael Tokarev <mjt@tls.msk.ru>2014-05-26 10:41:22 +0400
commit1687a089f103f9b7a1b4a1555068054cb46ee9e9 (patch)
tree951e91aa9623aacb4f4f88480ad374826015baae /libcacard/vcard.c
parent116d55460186d8568428072a5bbc355fb0129fce (diff)
libcacard: remove useless initializers
libcacard has many functions which initializes local variables at declaration time, which are always assigned some values later (often right after declaration). Clean up these initializers. Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'libcacard/vcard.c')
-rw-r--r--libcacard/vcard.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcacard/vcard.c b/libcacard/vcard.c
index 227e477319..6aaf085ecc 100644
--- a/libcacard/vcard.c
+++ b/libcacard/vcard.c
@@ -166,8 +166,8 @@ vcard_reference(VCard *vcard)
void
vcard_free(VCard *vcard)
{
- VCardApplet *current_applet = NULL;
- VCardApplet *next_applet = NULL;
+ VCardApplet *current_applet;
+ VCardApplet *next_applet;
if (vcard == NULL) {
return;