summaryrefslogtreecommitdiffstats
path: root/style.c
diff options
context:
space:
mode:
authornicm <nicm>2019-04-05 20:32:31 +0000
committernicm <nicm>2019-04-05 20:32:31 +0000
commit1b5a8a0f09cede0d5b6a4744ead873fa5b53abc0 (patch)
treecd05773a921cf95d37711867784433828920797e /style.c
parentf4aefb738ec1444842b476f98c45068bfef6f460 (diff)
Fix some warnings, from Thomas Adam.
Diffstat (limited to 'style.c')
-rw-r--r--style.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/style.c b/style.c
index c3d2960d..92941dbd 100644
--- a/style.c
+++ b/style.c
@@ -172,7 +172,7 @@ style_tostring(struct style *sy)
{
struct grid_cell *gc = &sy->gc;
int off = 0;
- const char *comma = "", *tmp;
+ const char *comma = "", *tmp = "";
static char s[256];
char b[16];