summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2017-04-26 19:22:28 +0200
committerJosé Bollo <jose.bollo@iot.bzh>2017-04-26 19:22:28 +0200
commit863a97b989aecce8b52a09168c0668ad40df8e1c (patch)
tree1a28295c24b3d18f6c84bb199e939fabd8fe4eb1
parentacca25c347b35a720c005436160ad623767b5eb1 (diff)
fix a warning
Change-Id: I9aa2d121771a4a1cca2c4733b3f78ee72db70840 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
-rw-r--r--src/afb-api-so-v1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/afb-api-so-v1.c b/src/afb-api-so-v1.c
index 7bb2c328..4bfd8d99 100644
--- a/src/afb-api-so-v1.c
+++ b/src/afb-api-so-v1.c
@@ -163,7 +163,7 @@ struct json_object *describe_cb(void *closure)
if (verb->session & AFB_SESSION_CHECK)
json_object_array_add(a, json_object_new_string("session-check"));
if (verb->session & AFB_SESSION_LOA_EQ) {
- const char *rel;
+ const char *rel = "?";
char buffer[80];
switch (verb->session & AFB_SESSION_LOA_EQ) {
case AFB_SESSION_LOA_GE: rel = ">="; break;