aboutsummaryrefslogtreecommitdiff
path: root/src/conversation/gnunet-conversation-gtk_contacts.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/conversation/gnunet-conversation-gtk_contacts.c')
-rw-r--r--src/conversation/gnunet-conversation-gtk_contacts.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/conversation/gnunet-conversation-gtk_contacts.c b/src/conversation/gnunet-conversation-gtk_contacts.c
index a84bce5d..3662c67b 100644
--- a/src/conversation/gnunet-conversation-gtk_contacts.c
+++ b/src/conversation/gnunet-conversation-gtk_contacts.c
@@ -199,6 +199,7 @@ display_record (void *cls,
199 break; 199 break;
200 default: 200 default:
201 /* ignore, not useful for conversation */ 201 /* ignore, not useful for conversation */
202 type = NULL; /* make compiler happy */
202 break; 203 break;
203 } 204 }
204 if (do_display) 205 if (do_display)
@@ -209,6 +210,11 @@ display_record (void *cls,
209 is_public = (0 == (rd[i].flags & GNUNET_GNSRECORD_RF_PRIVATE)); 210 is_public = (0 == (rd[i].flags & GNUNET_GNSRECORD_RF_PRIVATE));
210 break; 211 break;
211 } 212 }
213 else
214 {
215 /* make compiler happy */
216 is_public = FALSE;
217 }
212 } 218 }
213 219
214 /* check if exists, if so, update or remove */ 220 /* check if exists, if so, update or remove */