diff options
author | Christian Grothoff <christian@grothoff.org> | 2019-08-21 11:16:07 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2019-08-21 11:16:07 +0200 |
commit | dafc5d5bf5d693b63f0b7d4463273d0502cfc9d9 (patch) | |
tree | 9cc3dc91fe9515f5759ffbef0bcfdde0c3e04a58 | |
parent | 5d20d260f347c3f65333849b21aa62c88edef3df (diff) | |
download | gnunet-gtk-dafc5d5bf5d693b63f0b7d4463273d0502cfc9d9.tar.gz gnunet-gtk-dafc5d5bf5d693b63f0b7d4463273d0502cfc9d9.zip |
ensure event init even if type not in enum
-rw-r--r-- | src/conversation/gnunet-conversation-gtk_history.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/conversation/gnunet-conversation-gtk_history.c b/src/conversation/gnunet-conversation-gtk_history.c index b8baff90..6a750b4f 100644 --- a/src/conversation/gnunet-conversation-gtk_history.c +++ b/src/conversation/gnunet-conversation-gtk_history.c | |||
@@ -83,6 +83,7 @@ GCG_HISTORY_add (enum GCG_HISTORY_Type type, | |||
83 | const char *event; | 83 | const char *event; |
84 | const char *ts; | 84 | const char *ts; |
85 | 85 | ||
86 | event = NULL; /* just to be safe... */ | ||
86 | switch (type) | 87 | switch (type) |
87 | { | 88 | { |
88 | case GCG_HISTORY_TYPE_OUTGOING_CALL: | 89 | case GCG_HISTORY_TYPE_OUTGOING_CALL: |