about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorDavid Hill <dhill@conformal.com>2014-02-08 20:25:46 -0500
committerDavid Hill <dhill@conformal.com>2014-02-08 20:25:46 -0500
commit0864f6caf7626d6fc4c84f9f0c10f330dff33507 (patch)
tree92bbc5ba4965a17cfdfedfccde28252a924b3f9d
parentdae0413909d08186e8cceb84a05cc9a5d53108eb (diff)
downloadxombrero-0864f6caf7626d6fc4c84f9f0c10f330dff33507.tar.gz
fix a clang warning
-rw-r--r--xombrero.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xombrero.c b/xombrero.c
index 58411e7..ca5a471 100644
--- a/xombrero.c
+++ b/xombrero.c
@@ -6236,7 +6236,7 @@ cmd_complete(struct tab *t, char *str, int dir)
 	int			i, j, levels, c = 0, dep = 0, parent = -1;
 	int			matchcount = 0;
 	char			*tok, *match, *s = g_strdup(str);
-	char			*tokens[3] = {'\0'};
+	char			*tokens[3] = {0};
 	char			res[XT_MAX_URL_LENGTH + 32] = ":";
 	char			*sc = s;